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 /src/Fl_Window_fullscreen.cxx | |
| 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 'src/Fl_Window_fullscreen.cxx')
| -rw-r--r-- | src/Fl_Window_fullscreen.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Fl_Window_fullscreen.cxx b/src/Fl_Window_fullscreen.cxx index b96ac9369..e005302cc 100644 --- a/src/Fl_Window_fullscreen.cxx +++ b/src/Fl_Window_fullscreen.cxx @@ -28,6 +28,7 @@ #include <FL/Fl.H> #include <FL/x.H> +#include <FL/Fl_Window_Driver.H> #include <config.h> @@ -67,7 +68,7 @@ void Fl_Window::fullscreen() { no_fullscreen_w = w(); no_fullscreen_h = h(); if (shown() && !(flags() & Fl_Widget::FULLSCREEN)) { - fullscreen_x(); + pWindowDriver->fullscreen_on(); } else { set_flag(FULLSCREEN); } @@ -75,7 +76,7 @@ void Fl_Window::fullscreen() { void Fl_Window::fullscreen_off(int X,int Y,int W,int H) { if (shown() && (flags() & Fl_Widget::FULLSCREEN)) { - fullscreen_off_x(X, Y, W, H); + pWindowDriver->fullscreen_off(X, Y, W, H); } else { clear_flag(FULLSCREEN); } @@ -105,7 +106,7 @@ void Fl_Window::fullscreen_screens(int top, int bottom, int left, int right) { } if (shown() && fullscreen_active()) - fullscreen_x(); + pWindowDriver->fullscreen_on(); } |
