1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

Solitaire: Add key combo to dump the state of the layout

Useful for chasing down bugs.
This commit is contained in:
Timothy Flynn 2021-05-15 22:13:11 -04:00 committed by Andreas Kling
parent ce030ca584
commit ddb278ab85
5 changed files with 85 additions and 1 deletions

View file

@ -89,7 +89,6 @@ Card::Card(Type type, uint8_t value)
Gfx::Painter painter(m_front);
auto& font = Gfx::FontDatabase::default_bold_font();
static const String labels[] = { "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K" };
auto label = labels[value];
m_front->fill(Color::White);