mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:07:35 +00:00
Solitaire: Convert Solitaire GUI to a frame
Looks a bit nicer as a frame with inset edges.
This commit is contained in:
parent
0ff4eec8a8
commit
a540ec3519
2 changed files with 9 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue