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
commit 7c0a185970
Notes: sideshowbarker 2024-07-19 14:58:34 +09:00
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;
}