mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 05:25:13 +00:00
Base: Create /res/icons/solitaire/ and relocate solitaire assets
This commit is contained in:
parent
61ba39dfa0
commit
a49e0fa5d4
Notes:
sideshowbarker
2024-07-19 03:05:57 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/a49e0fa5d4b Pull-request: https://github.com/SerenityOS/serenity/pull/3317
2 changed files with 1 additions and 1 deletions
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
@ -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-deck.png");
|
||||
auto image = Gfx::Bitmap::load_from_file("/res/icons/solitaire/buggie-deck.png");
|
||||
ASSERT(!image.is_null());
|
||||
|
||||
float aspect_ratio = image->width() / static_cast<float>(image->height());
|
||||
|
|
Loading…
Add table
Reference in a new issue