summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2020-08-24 07:33:01 -0400
committerAndreas Kling <kling@serenityos.org>2020-08-27 15:38:02 +0200
commit8a364c503dc3496dbbd428617bb4c78997472263 (patch)
treed5426f51b7b5f7ff384d3e0863360c3fd8787124 /DevTools/VisualBuilder
parenta06f803c29abe91e5720dadd861e472de04b67d6 (diff)
downloadserenity-8a364c503dc3496dbbd428617bb4c78997472263.zip
Base: Rename icon subdirectories by explicit app name
Renames widgets/ to hackstudio/, vbwidgets/ to visualbuilder/ and paintbrush/ to pixelpaint/.
Diffstat (limited to 'DevTools/VisualBuilder')
-rw-r--r--DevTools/VisualBuilder/main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/DevTools/VisualBuilder/main.cpp b/DevTools/VisualBuilder/main.cpp
index e2530a1c13..916b3e4be0 100644
--- a/DevTools/VisualBuilder/main.cpp
+++ b/DevTools/VisualBuilder/main.cpp
@@ -111,7 +111,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& label_button = widget.add<GUI::Button>();
label_button.set_button_style(Gfx::ButtonStyle::CoolBar);
label_button.set_tooltip("GLabel");
- label_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/label.png"));
+ label_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/label.png"));
label_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GLabel);
@@ -120,7 +120,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& button_button = widget.add<GUI::Button>();
button_button.set_button_style(Gfx::ButtonStyle::CoolBar);
button_button.set_tooltip("GButton");
- button_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/button.png"));
+ button_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/button.png"));
button_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GButton);
@@ -128,7 +128,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& spinbox_button = widget.add<GUI::Button>();
spinbox_button.set_button_style(Gfx::ButtonStyle::CoolBar);
spinbox_button.set_tooltip("GSpinBox");
- spinbox_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/spinbox.png"));
+ spinbox_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/spinbox.png"));
spinbox_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GSpinBox);
@@ -136,7 +136,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& editor_button = widget.add<GUI::Button>();
editor_button.set_button_style(Gfx::ButtonStyle::CoolBar);
editor_button.set_tooltip("GTextEditor");
- editor_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/textbox.png"));
+ editor_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/textbox.png"));
editor_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GTextEditor);
@@ -144,7 +144,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& progress_bar_button = widget.add<GUI::Button>();
progress_bar_button.set_button_style(Gfx::ButtonStyle::CoolBar);
progress_bar_button.set_tooltip("GProgressBar");
- progress_bar_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/progressbar.png"));
+ progress_bar_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/progressbar.png"));
progress_bar_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GProgressBar);
@@ -152,7 +152,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& slider_button = widget.add<GUI::Button>();
slider_button.set_button_style(Gfx::ButtonStyle::CoolBar);
slider_button.set_tooltip("GSlider");
- slider_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/slider.png"));
+ slider_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/slider.png"));
slider_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GSlider);
@@ -160,7 +160,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& checkbox_button = widget.add<GUI::Button>();
checkbox_button.set_button_style(Gfx::ButtonStyle::CoolBar);
checkbox_button.set_tooltip("GCheckBox");
- checkbox_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/checkbox.png"));
+ checkbox_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/checkbox.png"));
checkbox_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GCheckBox);
@@ -176,7 +176,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& scrollbar_button = widget.add<GUI::Button>();
scrollbar_button.set_button_style(Gfx::ButtonStyle::CoolBar);
scrollbar_button.set_tooltip("GScrollBar");
- scrollbar_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/scrollbar.png"));
+ scrollbar_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/scrollbar.png"));
scrollbar_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GScrollBar);
@@ -184,7 +184,7 @@ RefPtr<GUI::Window> make_toolbox_window()
auto& groupbox_button = widget.add<GUI::Button>();
groupbox_button.set_button_style(Gfx::ButtonStyle::CoolBar);
groupbox_button.set_tooltip("GGroupBox");
- groupbox_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/vbwidgets/groupbox.png"));
+ groupbox_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/visualbuilder/groupbox.png"));
groupbox_button.on_click = [](auto) {
if (auto* form = VBForm::current())
form->insert_widget(VBWidgetType::GGroupBox);