diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2012-07-24 04:37:22 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2012-07-24 04:37:22 +0000 |
| commit | 398acd9c2a73d0d5c69bb51f7f3497e229fb367c (patch) | |
| tree | 1c7466ccccbe5dd68b23eb459ba4e045491df7fd /src/Fl_Double_Window.cxx | |
| parent | e607c90877e3d2dbf352d0f794c6c81c6d264b4e (diff) | |
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
Diffstat (limited to 'src/Fl_Double_Window.cxx')
| -rw-r--r-- | src/Fl_Double_Window.cxx | 37 |
1 files changed, 37 insertions, 0 deletions
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 <config.h> #include <FL/Fl.H> #include <FL/Fl_Double_Window.H> +#include <FL/Fl_Overlay_Window.H> #include <FL/Fl_Printer.H> #include <FL/x.H> #include <FL/fl_draw.H> @@ -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$". // |
