mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 23:55:07 +00:00
Games: Run clang-format on everything.
This commit is contained in:
parent
fd604a7c68
commit
fba2c971e7
4 changed files with 29 additions and 30 deletions
|
@ -1,11 +1,11 @@
|
|||
#include "Field.h"
|
||||
#include <AK/HashTable.h>
|
||||
#include <LibCore/CConfigFile.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <LibGUI/GLabel.h>
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <LibCore/CConfigFile.h>
|
||||
#include <AK/HashTable.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
class SquareButton final : public GButton {
|
||||
public:
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#include "Field.h"
|
||||
#include <LibCore/CConfigFile.h>
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <LibGUI/GLabel.h>
|
||||
#include <LibGUI/GMenu.h>
|
||||
#include <LibGUI/GMenuBar.h>
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GLabel.h>
|
||||
#include <LibCore/CConfigFile.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "SnakeGame.h"
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <LibGUI/GFontDatabase.h>
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <SharedGraphics/GraphicsBitmap.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
@ -198,7 +198,6 @@ void SnakeGame::paint_event(GPaintEvent& event)
|
|||
painter.fill_rect(right_side, Color::from_rgb(0x888800));
|
||||
painter.fill_rect(top_side, Color::from_rgb(0xcccc00));
|
||||
painter.fill_rect(bottom_side, Color::from_rgb(0x888800));
|
||||
|
||||
}
|
||||
|
||||
painter.draw_scaled_bitmap(cell_rect(m_fruit), *m_fruit_bitmaps[m_fruit_type], m_fruit_bitmaps[m_fruit_type]->rect());
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#include "SnakeGame.h"
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <LibGUI/GMenu.h>
|
||||
#include <LibGUI/GMenuBar.h>
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue