From 3ac718fd327051b6287f6b60c8a16dca87dbab03 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 9 Apr 2016 09:48:34 +0000 Subject: 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 --- FL/Fl_System_Driver.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FL') diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 2b52c8afe..0fa55cf53 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -112,6 +112,10 @@ public: virtual int filename_isdir_quick(const char* n); // the default implementation of filename_iext() is in src/filename_ext.cxx and may be enough virtual const char *filename_ext(const char *buf); + // whether a platform uses additional code in Fl_Menu::handle(int e) + virtual int need_menu_handle_part2() {return 0;} + // whether a platform uses additional code in Fl_Menu::handle_part1(int e) + virtual int need_menu_handle_part1_extra() {return 0;} }; #endif // FL_SYSTEM_DRIVER_H -- cgit v1.2.3