diff options
| author | Manolo Gouy <Manolo> | 2017-06-01 14:05:47 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-06-01 14:05:47 +0000 |
| commit | 90efebb97e5a97514cfdeb92bdf0bc462099b4cd (patch) | |
| tree | ea211f7ae6836411d57d3632faf3c26171607d8c /FL | |
| parent | 3a390bfb5fd2dc0c0b034c262cf79a6fb1db1e5f (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
