diff options
| author | Manolo Gouy <Manolo> | 2016-04-09 16:37:24 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-09 16:37:24 +0000 |
| commit | 65e19a1d2d12b9a5629c3022612d9000c4ac2ff0 (patch) | |
| tree | 15948c3c6949d325a921751ccb835d7cb949dc33 /src/drivers | |
| parent | 3bc5be71a39bf2ed9d9937a4f60df61dd6d3a2b4 (diff) | |
Rewrite fl_shortcut.cxx for the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Darwin/Fl_Darwin_System_Driver.H | 1 | ||||
| -rw-r--r-- | src/drivers/Posix/Fl_Posix_System_Driver.H | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.H b/src/drivers/Darwin/Fl_Darwin_System_Driver.H index 6cdd3b77f..ebb065dc3 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.H +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.H @@ -74,6 +74,7 @@ public: virtual const char *getpwnam(const char *login); virtual int need_menu_handle_part2() {return 1;} virtual int open_uri(const char *uri, char *msg, int msglen); + virtual int need_test_shortcut_extra() {return 1;} }; #endif // FL_DARWIN_SYSTEM_DRIVER_H diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.H b/src/drivers/Posix/Fl_Posix_System_Driver.H index de7ab085f..829b292b0 100644 --- a/src/drivers/Posix/Fl_Posix_System_Driver.H +++ b/src/drivers/Posix/Fl_Posix_System_Driver.H @@ -73,6 +73,8 @@ public: virtual int need_menu_handle_part1_extra() {return 1;} virtual int open_uri(const char *uri, char *msg, int msglen); virtual int use_tooltip_timeout_condition() {return 1;} + // this one is in fl_shortcut.cxx + virtual const char *shortcut_add_key_name(unsigned key, char *p, char *buf, const char **); }; #endif // FL_POSIX_SYSTEM_DRIVER_H |
