mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 04:27:40 +00:00
Base: Rename icon subdirectories by explicit app name
Renames widgets/ to hackstudio/, vbwidgets/ to visualbuilder/ and paintbrush/ to pixelpaint/.
This commit is contained in:
parent
a06f803c29
commit
8a364c503d
32 changed files with 12 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue