From a04ab219d16d3dc800a693ee1ff1db62cb84f709 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 10 Nov 2019 21:16:44 +0100 Subject: [PATCH] HackStudio: Use a visually distinct icon for the cursor tool 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. :^) --- Base/res/icons/widgets/Cursor.png | Bin 0 -> 176 bytes DevTools/HackStudio/main.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Base/res/icons/widgets/Cursor.png diff --git a/Base/res/icons/widgets/Cursor.png b/Base/res/icons/widgets/Cursor.png new file mode 100644 index 0000000000000000000000000000000000000000..135634ffea7cb62e2ec91cf66aa387aee0280a45 GIT binary patch literal 176 zcmeAS@N?(olHy`uVBq!ia0y~yV2}b~4mJh`hLv7E=NK3m$~|2iLp+YZoodZ@z<|Sf zft=K)M f{_3^!B@A!gM81~PT*k=2z`)??>gTe~DWM4f&5uIt literal 0 HcmV?d00001 diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index 0da3e184fe..201ecc6d1f 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -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) {