mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
Snake: Spruce up the GUI a tiny bit
Give the game window a GUI::Frame appearance, and make sure the menus have Alt shortcuts. :^)
This commit is contained in:
parent
d136fafde7
commit
04c3cddb1e
3 changed files with 13 additions and 10 deletions
|
@ -8,10 +8,11 @@
|
|||
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGUI/Frame.h>
|
||||
|
||||
class SnakeGame : public GUI::Frame {
|
||||
C_OBJECT(SnakeGame);
|
||||
|
||||
class SnakeGame : public GUI::Widget {
|
||||
C_OBJECT(SnakeGame)
|
||||
public:
|
||||
virtual ~SnakeGame() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue