summaryrefslogtreecommitdiff
path: root/src/Fl_Double_Window.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-22 21:21:08 +0000
committerManolo Gouy <Manolo>2016-03-22 21:21:08 +0000
commitbf7e4de688fc1f0e3008049a41c07543a7da0752 (patch)
treef1ac7f975ece6966c922b4de2cf3ee03c205c7eb /src/Fl_Double_Window.cxx
parent6ec8ebc4f83fa2c143bff54e66672226cdf7d85c (diff)
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
Diffstat (limited to 'src/Fl_Double_Window.cxx')
-rw-r--r--src/Fl_Double_Window.cxx9
1 files changed, 1 insertions, 8 deletions
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$".
//