Skip to content

Commit

Permalink
HackStudio: Use a visually distinct icon for the cursor tool
Browse files Browse the repository at this point in the history
Using the default cursor bitmap as the cursor tool icon in HackStudio
was predictably making it impossible to tell if it's the real cursor
or not. Replace it with a color-inverted cursor. :^)
  • Loading branch information
awesomekling committed Nov 10, 2019
1 parent 5951c7c commit a04ab21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added Base/res/icons/widgets/Cursor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion DevTools/HackStudio/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ int main(int argc, char** argv)
auto form_widgets_toolbar = GToolBar::construct(Orientation::Vertical, 26, g_form_inner_container);
form_widgets_toolbar->set_preferred_size(38, 0);

form_widgets_toolbar->add_action(GAction::create("Cursor", GraphicsBitmap::load_from_file("/res/cursors/arrow.png"), [&](auto&) {
form_widgets_toolbar->add_action(GAction::create("Cursor", GraphicsBitmap::load_from_file("/res/icons/widgets/Cursor.png"), [&](auto&) {
}));

GWidgetClassRegistration::for_each([&](const GWidgetClassRegistration& reg) {
Expand Down

0 comments on commit a04ab21

Please sign in to comment.