From 90efebb97e5a97514cfdeb92bdf0bc462099b4cd Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 1 Jun 2017 14:05:47 +0000 Subject: Divide virtual Fl_Screen_Driver::open_display() in a platform-specific part followed by a platform-independent part. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Screen_Driver.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index 84f25d9fa..f1e33ebaf 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -155,8 +155,10 @@ public: // optional methods to enable/disable input methods for complex scripts virtual void enable_im() {} virtual void disable_im() {} + // calls open_display_platform() and then does platform-independent work + void open_display(); // implement to open access to the display - virtual void open_display() {} + virtual void open_display_platform() {} // optional method to close display access virtual void close_display() {} // compute dimensions of an Fl_Offscreen -- cgit v1.2.3