diff options
| author | Manolo Gouy <Manolo> | 2017-09-19 19:33:54 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-09-19 19:33:54 +0000 |
| commit | da2d4a8ee53e49b21f315516dad2c96b232013a0 (patch) | |
| tree | 229a358107a28be70298fa1e9db81335f0025462 /src/drivers/Darwin/Fl_Darwin_System_Driver.H | |
| parent | 213b955442a2b1428996fb30cb965d001c7da252 (diff) | |
Convert the initialisation of global variables fl_local_shift, fl_local_meta, etc... using the driver approach.
This avoids repeating the default values "Shift", "Meta", etc... for several platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Darwin/Fl_Darwin_System_Driver.H')
| -rw-r--r-- | src/drivers/Darwin/Fl_Darwin_System_Driver.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.H b/src/drivers/Darwin/Fl_Darwin_System_Driver.H index ff2ab8205..cec33d2a9 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.H +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.H @@ -77,6 +77,10 @@ public: virtual void remove_fd(int, int when); virtual void remove_fd(int); virtual void open_callback(void (*)(const char *)); + virtual const char *shift_name(); + virtual const char *meta_name(); + virtual const char *alt_name(); + virtual const char *control_name(); }; #endif // FL_DARWIN_SYSTEM_DRIVER_H |
