1
Fork 0
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:
Andreas Kling 2019-04-13 14:22:25 +02:00
parent 3f37665492
commit 49b63efddb
3 changed files with 8 additions and 5 deletions

View file

@ -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;