diff options
| author | Manolo Gouy <Manolo> | 2016-03-23 14:36:58 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-23 14:36:58 +0000 |
| commit | affdcdb525b3a606115b3a6444f0ab7dcc4b48ac (patch) | |
| tree | 8ea7b48838875022aae56edd038910399b517fd7 /FL | |
| parent | 979740ce91525cc301a9173731d6aaf3004a6c88 (diff) | |
Rewrite Fl_Window::fullscreen_x() under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Window.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Window_Driver.H | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index abdcb95b2..572c7589a 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -82,8 +82,6 @@ private: void size_range_(); void _Fl_Window(); // constructor innards - void fullscreen_x(); // platform-specific part of sending a window to full screen - void fullscreen_off_x(int X, int Y, int W, int H);// platform-specific part of leaving full screen // unimplemented copy ctor and assignment operator Fl_Window(const Fl_Window&); diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H index 6ff2a1bab..2deb7c5a3 100644 --- a/FL/Fl_Window_Driver.H +++ b/FL/Fl_Window_Driver.H @@ -57,6 +57,10 @@ public: int minh(); int maxw(); int maxh(); + int fullscreen_screen_top(); + int fullscreen_screen_bottom(); + int fullscreen_screen_left(); + int fullscreen_screen_right(); unsigned char size_range_set(); void force_position(int c); void x(int X); @@ -87,6 +91,8 @@ public: int hide_common(); virtual void map() {} virtual void unmap() {} + virtual void fullscreen_on() {} + virtual void fullscreen_off(int X, int Y, int W, int H) {} // --- window shape stuff void shape_pixmap_(Fl_Image* pixmap); // TODO: check |
