1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:47:36 +00:00

Use the PNG loader for all images, and get rid of the .rgb files.

This commit is contained in:
Andreas Kling 2019-03-22 00:19:53 +01:00
parent c2a38c86cf
commit 7c0a185970
56 changed files with 90 additions and 74 deletions

View file

@ -9,7 +9,7 @@ static GraphicsBitmap& default_window_icon()
{
static GraphicsBitmap* s_icon;
if (!s_icon)
s_icon = GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/window16.rgb", { 16, 16 }).leak_ref();
s_icon = GraphicsBitmap::load_from_file("/res/icons/16x16/window.png").leak_ref();
return *s_icon;
}