diff options
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Darwin/Fl_Darwin_System_Driver.cxx | 8 | ||||
| -rw-r--r-- | src/drivers/Posix/Fl_Posix_System_Driver.cxx | 6 | ||||
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx | 6 |
3 files changed, 20 insertions, 0 deletions
diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx index 1b08b30e4..fa6893784 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx @@ -20,6 +20,14 @@ #include "../../config_lib.h" #include "Fl_Darwin_System_Driver.H" +//const char* fl_local_alt = "\xe2\x8c\xa5\\"; // U+2325 (option key) +const char* fl_local_alt = "⌥\\"; // U+2325 (option key) +//const char* fl_local_ctrl = "\xe2\x8c\x83\\"; // U+2303 (up arrowhead) +const char* fl_local_ctrl = "⌃\\"; // U+2303 (up arrowhead) +//const char* fl_local_meta = "\xe2\x8c\x98\\"; // U+2318 (place of interest sign) +const char* fl_local_meta = "⌘\\"; // U+2318 (place of interest sign) +//const char* fl_local_shift = "\xe2\x87\xa7\\"; // U+21E7 (upwards white arrow) +const char* fl_local_shift = "⇧\\"; // U+21E7 (upwards white arrow) // // End of "$Id$". diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.cxx b/src/drivers/Posix/Fl_Posix_System_Driver.cxx index 866be9b3d..763dca752 100644 --- a/src/drivers/Posix/Fl_Posix_System_Driver.cxx +++ b/src/drivers/Posix/Fl_Posix_System_Driver.cxx @@ -20,6 +20,12 @@ #include "../../config_lib.h" #include "Fl_Posix_System_Driver.H" +// Pointers you can use to change FLTK to a foreign language. +// Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx +const char* fl_local_alt = "Alt"; ///< string pointer used in shortcuts, you can change it to another language +const char* fl_local_ctrl = "Ctrl"; ///< string pointer used in shortcuts, you can change it to another language +const char* fl_local_meta = "Meta"; ///< string pointer used in shortcuts, you can change it to another language +const char* fl_local_shift = "Shift"; ///< string pointer used in shortcuts, you can change it to another language // // End of "$Id$". diff --git a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx index 031b0aac2..1a59a2c05 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx @@ -20,6 +20,12 @@ #include "../../config_lib.h" #include "Fl_WinAPI_System_Driver.H" +#if !defined(FL_DOXYGEN) +const char* fl_local_alt = "Alt"; +const char* fl_local_ctrl = "Ctrl"; +const char* fl_local_meta = "Meta"; +const char* fl_local_shift = "Shift"; +#endif // // End of "$Id$". |
