diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-20 15:22:14 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-20 15:24:59 +0200 |
commit | 8311b24620cc31937a9a620a7c5624e6745ef8f7 (patch) | |
tree | 6a9a7dc669f952ff800250d705d372236db718af | |
parent | e0a16f8752a366cd3c48f14a7419ddaca7bd3587 (diff) | |
download | serenity-8311b24620cc31937a9a620a7c5624e6745ef8f7.zip |
Solitaire: Use a pre-scaled buggie image for the back of cards
Instead of scaling on the fly, which is not super aesthetic yet.
-rw-r--r-- | Base/res/icons/buggie-deck.png | bin | 0 -> 5505 bytes | |||
-rw-r--r-- | Games/Solitaire/Card.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Base/res/icons/buggie-deck.png b/Base/res/icons/buggie-deck.png Binary files differnew file mode 100644 index 0000000000..d08bb9e5f0 --- /dev/null +++ b/Base/res/icons/buggie-deck.png diff --git a/Games/Solitaire/Card.cpp b/Games/Solitaire/Card.cpp index c536c346e4..4db2e28bf4 100644 --- a/Games/Solitaire/Card.cpp +++ b/Games/Solitaire/Card.cpp @@ -92,7 +92,7 @@ Card::Card(Type type, uint8_t value) Gfx::Painter bg_painter(*s_background); s_background->fill(Color::White); - auto image = Gfx::Bitmap::load_from_file("/res/icons/buggie.png"); + auto image = Gfx::Bitmap::load_from_file("/res/icons/buggie-deck.png"); ASSERT(!image.is_null()); float aspect_ratio = image->width() / static_cast<float>(image->height()); |