From d6832f210ca7e085742edaebc8a7884ce82edf67 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 27 Jul 2022 00:52:09 +0200 Subject: Fl_Sys_Menu_Bar: allow use of more keys as menu shortcuts. --- src/drivers/Darwin/Fl_Darwin_System_Driver.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/drivers/Darwin') diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx index 4ca3ea73f..16890ef04 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx @@ -44,13 +44,12 @@ Fl_System_Driver::Keyname darwin_key_table[] = { // v - this column may contain UTF-8 characters {' ', "Space"}, - {FL_BackSpace, "\xe2\x8c\xab"}, // erase to the left + {FL_BackSpace, "⌫"/*"\xe2\x8c\xab"*/}, // U+232B : erase to the left {FL_Tab, "\xe2\x87\xa5"}, // rightwards arrow to bar - {0xff0b, "\xe2\x8c\xa6"}, // erase to the right {FL_Enter, "\xe2\x86\xa9"}, // leftwards arrow with hook {FL_Pause, "Pause"}, {FL_Scroll_Lock, "Scroll_Lock"}, - {FL_Escape, "\xe2\x90\x9b"}, + {FL_Escape, "⎋"}, // U+238B : broken circle with northwest arrow {FL_Home, "\xe2\x86\x96"}, // north west arrow {FL_Left, "\xe2\x86\x90"}, // leftwards arrow {FL_Up, "\xe2\x86\x91"}, // upwards arrow @@ -73,7 +72,7 @@ Fl_System_Driver::Keyname darwin_key_table[] = { {FL_Meta_R, "Meta_R"}, {FL_Alt_L, "Alt_L"}, {FL_Alt_R, "Alt_R"}, - {FL_Delete, "\xe2\x8c\xa7"} // x in a rectangle box + {FL_Delete, "⌦"/*"\xe2\x8c\xa6"*/} // U+2326 : erase to the right }; const char *Fl_Darwin_System_Driver::shift_name() { -- cgit v1.2.3