summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2020-08-30 17:21:15 -0400
committerAndreas Kling <kling@serenityos.org>2020-08-31 09:14:18 +0200
commit60872a7c5a0e90215208ea851bfae14faf5d54e9 (patch)
tree24e6f27d043db65d16e0436635ed40e9f7101e4f
parent9adbbff4dd5469a26a9d606e65ae9b7e5c32605a (diff)
downloadserenity-60872a7c5a0e90215208ea851bfae14faf5d54e9.zip
DevTools+Apps: Set correct icons for ThemeEditor and VisualBuilder
VB appears deprecated in favor of HackStudio, but until it's officially gone-no app left behind!
-rw-r--r--Applications/ThemeEditor/main.cpp2
-rw-r--r--DevTools/VisualBuilder/VBPropertiesWindow.cpp1
-rw-r--r--DevTools/VisualBuilder/main.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/Applications/ThemeEditor/main.cpp b/Applications/ThemeEditor/main.cpp
index 830756c758..7b0d18a4a3 100644
--- a/Applications/ThemeEditor/main.cpp
+++ b/Applications/ThemeEditor/main.cpp
@@ -109,6 +109,6 @@ int main(int argc, char** argv)
window->resize(480, 500);
window->show();
window->set_title("Theme Editor");
- window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/themes.png"));
+ window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-theme-editor.png"));
return app->exec();
}
diff --git a/DevTools/VisualBuilder/VBPropertiesWindow.cpp b/DevTools/VisualBuilder/VBPropertiesWindow.cpp
index 445183c6df..7e608f6e1b 100644
--- a/DevTools/VisualBuilder/VBPropertiesWindow.cpp
+++ b/DevTools/VisualBuilder/VBPropertiesWindow.cpp
@@ -80,6 +80,7 @@ VBPropertiesWindow::VBPropertiesWindow()
{
set_title("Properties");
set_rect(780, 200, 240, 280);
+ set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-visual-builder.png"));
auto& widget = set_main_widget<GUI::Widget>();
widget.set_fill_with_background_color(true);
diff --git a/DevTools/VisualBuilder/main.cpp b/DevTools/VisualBuilder/main.cpp
index 916b3e4be0..c4829e6e14 100644
--- a/DevTools/VisualBuilder/main.cpp
+++ b/DevTools/VisualBuilder/main.cpp
@@ -75,6 +75,7 @@ int main(int argc, char** argv)
window->set_title(form1->name());
window->set_rect(120, 200, 640, 400);
window->set_main_widget(form1);
+ window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-visual-builder.png"));
window->show();
@@ -102,6 +103,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto window = GUI::Window::construct();
window->set_title("Widgets");
window->set_rect(20, 200, 80, 300);
+ window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-visual-builder.png"));
auto& widget = window->set_main_widget<GUI::Widget>();
widget.set_fill_with_background_color(true);