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 --- src/Fl_Window_fullscreen.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Fl_Window_fullscreen.cxx') 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 #include +#include #include @@ -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(); } -- cgit v1.2.3