diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-27 00:52:09 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-27 00:52:09 +0200 |
| commit | d6832f210ca7e085742edaebc8a7884ce82edf67 (patch) | |
| tree | 8ad08ae28590ae3a095574e00db29ce9e84ba156 /src/drivers/Darwin | |
| parent | f582e06224f178a73b25bd241933c4f50ff36279 (diff) | |
Fl_Sys_Menu_Bar: allow use of more keys as menu shortcuts.
Diffstat (limited to 'src/drivers/Darwin')
| -rw-r--r-- | src/drivers/Darwin/Fl_Darwin_System_Driver.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
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() { |
