Author: matt
Date: 2012-05-02 13:30:12 -0700 (Wed, 02 May 2012)
New Revision: 9434
Log:
Updating fltk3::Window
Modified:
branches/branch-3.0/include/fltk3/DoubleWindow.h
branches/branch-3.0/src/fltk3/DoubleWindow.cxx
Modified: branches/branch-3.0/include/fltk3/DoubleWindow.h
===================================================================
--- branches/branch-3.0/include/fltk3/DoubleWindow.h 2012-05-02 20:23:49 UTC
(rev 9433)
+++ branches/branch-3.0/include/fltk3/DoubleWindow.h 2012-05-02 20:30:12 UTC
(rev 9434)
@@ -65,17 +65,18 @@
void resize(int,int,int,int);
void hide();
~DoubleWindow();
+
/**
Creates a new fltk3::DoubleWindow widget using the given
position, size, and label (title) string.
*/
- DoubleWindow(int W, int H, const char *l = 0)
- : fltk3::Window(W,H,l), force_doublebuffering_(0) { type(DOUBLE_WINDOW); }
+ DoubleWindow(int W, int H, const char *l = 0);
+
/**
See fltk3::DoubleWindow::DoubleWindow(int w, int h, const char *label =
0)
*/
- DoubleWindow(int X, int Y, int W, int H, const char *l = 0)
- : fltk3::Window(X,Y,W,H,l), force_doublebuffering_(0) {
type(DOUBLE_WINDOW); }
+ DoubleWindow(int X, int Y, int W, int H, const char *l = 0);
+
};
} // namespace
Modified: branches/branch-3.0/src/fltk3/DoubleWindow.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/DoubleWindow.cxx 2012-05-02 20:23:49 UTC
(rev 9433)
+++ branches/branch-3.0/src/fltk3/DoubleWindow.cxx 2012-05-02 20:30:12 UTC
(rev 9434)
@@ -65,6 +65,24 @@
}
#endif
+
+fltk3::DoubleWindow::DoubleWindow(int W, int H, const char *l)
+: fltk3::Window(W,H,l),
+ force_doublebuffering_(0)
+{
+ set_group_relative();
+ type(DOUBLE_WINDOW);
+}
+
+
+fltk3::DoubleWindow::DoubleWindow(int X, int Y, int W, int H, const char *l)
+: fltk3::Window(X,Y,W,H,l),
+ force_doublebuffering_(0)
+{
+ type(DOUBLE_WINDOW);
+}
+
+
void fltk3::DoubleWindow::show() {
Window::show();
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit