mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Base: Create /res/graphics/ and relocate system art assets
This commit is contained in:
parent
4463fed398
commit
61ba39dfa0
10 changed files with 7 additions and 7 deletions
|
@ -143,7 +143,7 @@ void Canvas::draw()
|
|||
path.close();
|
||||
painter.fill_path(path, Color::Yellow, Gfx::Painter::WindingRule::EvenOdd);
|
||||
|
||||
auto buggie = Gfx::Bitmap::load_from_file("/res/icons/buggie.png");
|
||||
auto buggie = Gfx::Bitmap::load_from_file("/res/graphics/buggie.png");
|
||||
painter.blit({ 280, 280 }, *buggie, buggie->rect(), 0.5);
|
||||
painter.blit_scaled({ 360, 280, buggie->rect().width() * 2, buggie->rect().height() * 2 }, *buggie, buggie->rect(), 0.5, 0.5);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue