Jelajahi Sumber

Base: Create /res/icons/solitaire/ and relocate solitaire assets

thankyouverycool 4 tahun lalu
induk
melakukan
a49e0fa5d4
2 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 0 0
      Base/res/icons/solitaire/buggie-deck.png
  2. 1 1
      Games/Solitaire/Card.cpp

+ 0 - 0
Base/res/icons/buggie-deck.png → Base/res/icons/solitaire/buggie-deck.png


+ 1 - 1
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-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());