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!
This commit is contained in:
thankyouverycool 2020-08-30 17:21:15 -04:00 committed by Andreas Kling
parent 9adbbff4dd
commit 60872a7c5a
3 changed files with 4 additions and 1 deletions

View file

@ -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();
}

View file

@ -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);

View file

@ -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);