summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-23 14:36:58 +0000
committerManolo Gouy <Manolo>2016-03-23 14:36:58 +0000
commitaffdcdb525b3a606115b3a6444f0ab7dcc4b48ac (patch)
tree8ea7b48838875022aae56edd038910399b517fd7 /src/Fl_cocoa.mm
parent979740ce91525cc301a9173731d6aaf3004a6c88 (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_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm17
1 files changed, 0 insertions, 17 deletions
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
*/