summaryrefslogtreecommitdiff
path: root/Userland/Games/Solitaire/Game.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-05-05 10:02:35 -0400
committerAndreas Kling <kling@serenityos.org>2021-05-05 21:38:45 +0200
commita540ec3519d1bd3585bb65595e7ba0d4b19fe5e5 (patch)
tree9dc2146ab7f8c448bf4744219a21fb6274e7624c /Userland/Games/Solitaire/Game.h
parent0ff4eec8a8f05c4ba9d5ac7c95fc95ace6f7a51c (diff)
downloadserenity-a540ec3519d1bd3585bb65595e7ba0d4b19fe5e5.zip
Solitaire: Convert Solitaire GUI to a frame
Looks a bit nicer as a frame with inset edges.
Diffstat (limited to 'Userland/Games/Solitaire/Game.h')
-rw-r--r--Userland/Games/Solitaire/Game.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/Solitaire/Game.h b/Userland/Games/Solitaire/Game.h
index 179a478db3..011c2368d5 100644
--- a/Userland/Games/Solitaire/Game.h
+++ b/Userland/Games/Solitaire/Game.h
@@ -7,12 +7,12 @@
#pragma once
#include "CardStack.h"
+#include <LibGUI/Frame.h>
#include <LibGUI/Painter.h>
-#include <LibGUI/Widget.h>
namespace Solitaire {
-class Game final : public GUI::Widget {
+class Game final : public GUI::Frame {
C_OBJECT(Game)
public:
static constexpr int width = 640;