diff --git a/Applications/Browser/DownloadWidget.cpp b/Applications/Browser/DownloadWidget.cpp index 752aa3c38c7..76d051bcb67 100644 --- a/Applications/Browser/DownloadWidget.cpp +++ b/Applications/Browser/DownloadWidget.cpp @@ -75,7 +75,7 @@ DownloadWidget::DownloadWidget(const URL& url) auto& animation_layout = animation_container.set_layout(); auto& browser_image = animation_container.add(); - browser_image.load_from_file("/res/download-animation.gif"); + browser_image.load_from_file("/res/graphics/download-animation.gif"); animation_layout.add_spacer(); diff --git a/Applications/DisplaySettings/MonitorWidget.cpp b/Applications/DisplaySettings/MonitorWidget.cpp index d4e8b1e6ccb..11085778189 100644 --- a/Applications/DisplaySettings/MonitorWidget.cpp +++ b/Applications/DisplaySettings/MonitorWidget.cpp @@ -29,7 +29,7 @@ MonitorWidget::MonitorWidget() { - m_monitor_bitmap = Gfx::Bitmap::load_from_file("/res/monitor.png"); + m_monitor_bitmap = Gfx::Bitmap::load_from_file("/res/graphics/monitor.png"); m_monitor_rect = { 8, 9, 320, 180 }; } diff --git a/Base/res/brand-banner.png b/Base/res/graphics/brand-banner.png similarity index 100% rename from Base/res/brand-banner.png rename to Base/res/graphics/brand-banner.png diff --git a/Base/res/icons/buggie.png b/Base/res/graphics/buggie.png similarity index 100% rename from Base/res/icons/buggie.png rename to Base/res/graphics/buggie.png diff --git a/Base/res/download-animation.gif b/Base/res/graphics/download-animation.gif similarity index 100% rename from Base/res/download-animation.gif rename to Base/res/graphics/download-animation.gif diff --git a/Base/res/monitor.png b/Base/res/graphics/monitor.png similarity index 100% rename from Base/res/monitor.png rename to Base/res/graphics/monitor.png diff --git a/Base/res/html/misc/img-canvas.html b/Base/res/html/misc/img-canvas.html index a21add25ac4..1d078129f32 100644 --- a/Base/res/html/misc/img-canvas.html +++ b/Base/res/html/misc/img-canvas.html @@ -23,6 +23,6 @@ - + diff --git a/Demos/LibGfxDemo/main.cpp b/Demos/LibGfxDemo/main.cpp index b881074b26e..1b22a414efa 100644 --- a/Demos/LibGfxDemo/main.cpp +++ b/Demos/LibGfxDemo/main.cpp @@ -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); diff --git a/Demos/WidgetGallery/main.cpp b/Demos/WidgetGallery/main.cpp index 28b7481f9f8..71a1fc6630c 100644 --- a/Demos/WidgetGallery/main.cpp +++ b/Demos/WidgetGallery/main.cpp @@ -496,10 +496,10 @@ int main(int argc, char** argv) auto& banner_image = tab_image.add(); banner_image.set_frame_thickness(2); - banner_image.load_from_file("/res/brand-banner.png"); + banner_image.load_from_file("/res/graphics/brand-banner.png"); auto& gif_animation_image = tab_image.add(); - gif_animation_image.load_from_file("/res/download-animation.gif"); + gif_animation_image.load_from_file("/res/graphics/download-animation.gif"); auto& tab_cursors = tab_widget.add_tab("Cursors"); tab_cursors.set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fill); diff --git a/Libraries/LibGUI/AboutDialog.cpp b/Libraries/LibGUI/AboutDialog.cpp index 0d71698585a..198da74d4b4 100644 --- a/Libraries/LibGUI/AboutDialog.cpp +++ b/Libraries/LibGUI/AboutDialog.cpp @@ -54,7 +54,7 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window widget.layout()->set_spacing(0); auto& banner_image = widget.add(); - banner_image.load_from_file("/res/brand-banner.png"); + banner_image.load_from_file("/res/graphics/brand-banner.png"); auto& content_container = widget.add(); content_container.set_size_policy(SizePolicy::Fill, SizePolicy::Fill);