diff options
| author | Manolo Gouy <Manolo> | 2016-04-09 09:48:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-09 09:48:34 +0000 |
| commit | 3ac718fd327051b6287f6b60c8a16dca87dbab03 (patch) | |
| tree | f47ef233874eb8964ee910300fca52cc3304ab11 /src/drivers/Posix/Fl_Posix_System_Driver.H | |
| parent | 1ba6928313c3fa25f3b6719a4dfdc9471e72d359 (diff) | |
Rewrite Fl_Menu.cxx for the driver model.
See the detailed description in menuwindow::handle(int e) of Fl_Menu.cxx
of how the menu window class could require 1 or 2 less support functions from
the Fl_System_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Posix/Fl_Posix_System_Driver.H')
| -rw-r--r-- | src/drivers/Posix/Fl_Posix_System_Driver.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.H b/src/drivers/Posix/Fl_Posix_System_Driver.H index 74102675c..54f997cc8 100644 --- a/src/drivers/Posix/Fl_Posix_System_Driver.H +++ b/src/drivers/Posix/Fl_Posix_System_Driver.H @@ -67,6 +67,8 @@ public: virtual int get_key(int k); virtual int filename_list(const char *d, dirent ***list, int (*sort)(struct dirent **, struct dirent **) ); virtual const char *getpwnam(const char *login); + virtual int need_menu_handle_part2() {return 1;} + virtual int need_menu_handle_part1_extra() {return 1;} }; #endif // FL_POSIX_SYSTEM_DRIVER_H |
