mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 09:14:21 +03:00
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:
parent
9adbbff4dd
commit
60872a7c5a
Notes:
sideshowbarker
2024-07-19 02:58:25 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/60872a7c5a0 Pull-request: https://github.com/SerenityOS/serenity/pull/3359 Issue: https://github.com/SerenityOS/serenity/issues/3347
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user