From 398acd9c2a73d0d5c69bb51f7f3497e229fb367c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 24 Jul 2012 04:37:22 +0000 Subject: STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Double_Window.cxx | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'src/Fl_Double_Window.cxx') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 189cae305..713430e88 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -55,6 +56,23 @@ static int can_xdbe() { } #endif + +Fl_Double_Window::Fl_Double_Window(int W, int H, const char *l) +: Fl_Window(W,H,l), + force_doublebuffering_(0) +{ + type(FL_DOUBLE_WINDOW); +} + + +Fl_Double_Window::Fl_Double_Window(int X, int Y, int W, int H, const char *l) +: Fl_Window(X,Y,W,H,l), + force_doublebuffering_(0) +{ + type(FL_DOUBLE_WINDOW); +} + + void Fl_Double_Window::show() { Fl_Window::show(); } @@ -473,6 +491,25 @@ Fl_Double_Window::~Fl_Double_Window() { hide(); } + +Fl_Overlay_Window::Fl_Overlay_Window(int W, int H, const char *l) +: Fl_Double_Window(W,H,l) +{ + overlay_ = 0; + force_doublebuffering_=1; + image(0); +} + + +Fl_Overlay_Window::Fl_Overlay_Window(int X, int Y, int W, int H, const char *l) +: Fl_Double_Window(X,Y,W,H,l) +{ + overlay_ = 0; + force_doublebuffering_=1; + image(0); +} + + // // End of "$Id$". // -- cgit v1.2.3