From bf7e4de688fc1f0e3008049a41c07543a7da0752 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 22 Mar 2016 21:21:08 +0000 Subject: Rewrite Fl_Window::resize() under the driver model. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11401 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Double_Window.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/Fl_Double_Window.cxx') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 701f53274..05b6a5c78 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -51,11 +51,6 @@ void Fl_Double_Window::show() { } -/*char fl_can_do_alpha_blending() { - return Fl_Display_Device::display_device()->driver()->can_do_alpha_blending(); -}*/ - - void Fl_Double_Window::resize(int X,int Y,int W,int H) { int ow = w(); int oh = h(); @@ -65,6 +60,7 @@ void Fl_Double_Window::resize(int X,int Y,int W,int H) { driver()->destroy_double_buffer(); } + void Fl_Double_Window::hide() { Fl_X *myi = Fl_X::i(this); if (myi && myi->other_xid) { @@ -89,9 +85,6 @@ Fl_Double_Window::~Fl_Double_Window() { hide(); } - - - // // End of "$Id$". // -- cgit v1.2.3