From affdcdb525b3a606115b3a6444f0ab7dcc4b48ac Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 23 Mar 2016 14:36:58 +0000 Subject: 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 --- FL/Fl_Window.H | 2 -- FL/Fl_Window_Driver.H | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'FL') 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 -- cgit v1.2.3