mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
Minesweeper: Turn the field into a GFrame for that containery look.
This commit is contained in:
parent
3f37665492
commit
49b63efddb
3 changed files with 8 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GFrame.h>
|
||||
|
||||
class SquareButton;
|
||||
class GLabel;
|
||||
|
@ -16,7 +16,7 @@ struct Square {
|
|||
GLabel* label { nullptr };
|
||||
};
|
||||
|
||||
class Field final : public GWidget {
|
||||
class Field final : public GFrame {
|
||||
public:
|
||||
explicit Field(GWidget* parent);
|
||||
virtual ~Field() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue