summaryrefslogtreecommitdiff
path: root/src/drivers/Posix
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-25 13:08:48 +0000
committerManolo Gouy <Manolo>2016-03-25 13:08:48 +0000
commita69133d3177f025d9810bdf9305147f80bbb270e (patch)
treec0513df6f46a47acb80860a0a03055ab376e3e98 /src/drivers/Posix
parent2530120d7d084f1ffbb9331e925153a3bcb15b92 (diff)
Separating platform-dependent from platform-independent code: make src/Fl.cxx cross-platform.
File src/Fl_win32.cxx is now compiled instead of included in Fl.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Posix')
-rw-r--r--src/drivers/Posix/Fl_Posix_System_Driver.cxx6
1 files changed, 6 insertions, 0 deletions
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$".