mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Base: Create /res/graphics/ and relocate system art assets
This commit is contained in:
parent
4463fed398
commit
61ba39dfa0
Notes:
sideshowbarker
2024-07-19 03:06:01 +09:00
Author: https://github.com/thankyouverycool
Commit: 61ba39dfa0
Pull-request: https://github.com/SerenityOS/serenity/pull/3317
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