Stephan Unverwerth
b4d1390714
LibGFX: Move default_xxx_font() methods from Font to FontDatabase
...
When we have an abstract font class it makes no sense to keep
these methods in the Font class.
2020-12-30 20:40:30 +01:00
Till Mayer
ef458f7b66
Solitaire: Refactor CardStack layout code
2020-10-26 21:36:40 +01:00
thankyouverycool
a49e0fa5d4
Base: Create /res/icons/solitaire/ and relocate solitaire assets
2020-08-27 15:38:02 +02:00
Andreas Kling
116cf92156
LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
...
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much
better visual clue about what type of metric is being used.
2020-06-10 10:59:04 +02:00
Andreas Kling
8311b24620
Solitaire: Use a pre-scaled buggie image for the back of cards
...
Instead of scaling on the fly, which is not super aesthetic yet.
2020-04-20 15:24:59 +02:00
Andreas Kling
228ace854c
LibGfx: Don't allow creating bitmaps whose sizes would overflow
...
If the area or size_in_bytes calculation for a Gfx::Bitmap would
overflow, we now refuse to create such a bitmap and return nullptr.
Thanks to @itamar8910 for finding this! :^)
2020-04-15 12:28:49 +02:00
Till Mayer
fe5cc7ce68
Games: Added solitaire
...
Added a solitaire game. Currently there are graphics missing on some
of the cards, but the game is fully functional.
Press F12 to show the game-over animation manually.
2020-03-09 21:36:59 +01:00