1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:57:46 +00:00

Solitaire: Convert Solitaire window to be created from GML

No functionial change here, but this more easily allows for adding GUI
elements to the Solitaire window. This nests the SolitaireWidget as a
child of the main window's widget so that the SolitaireWidget does not
color the entire window green when it paints its background.
This commit is contained in:
Timothy Flynn 2021-05-05 09:54:52 -04:00 committed by Andreas Kling
parent e1492e9a62
commit 0ff4eec8a8
5 changed files with 33 additions and 12 deletions

View file

@ -1,8 +1,11 @@
compile_gml(Solitaire.gml SolitaireGML.h solitaire_gml)
set(SOURCES
Card.cpp
CardStack.cpp
Game.cpp
main.cpp
SolitaireGML.h
)
serenity_app(Solitaire ICON app-solitaire)