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_cocoa.mm | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/Fl_cocoa.mm') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 35239835e..88199d9bc 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2851,23 +2851,6 @@ void Fl_X::GLcontext_makecurrent(NSOpenGLContext* ctxt) [ctxt makeCurrentContext]; } -void Fl_Window::fullscreen_x() { - _set_fullscreen(); - /* On OS X < 10.6, it is necessary to recreate the window. This is done - with hide+show. */ - hide(); - show(); - Fl::handle(FL_FULLSCREEN, this); -} - -void Fl_Window::fullscreen_off_x(int X, int Y, int W, int H) { - _clear_fullscreen(); - hide(); - resize(X, Y, W, H); - show(); - Fl::handle(FL_FULLSCREEN, this); -} - /* * Initialize the given port for redraw and call the window's flush() to actually draw the content */ -- cgit v1.2.3