summaryrefslogtreecommitdiff
path: root/FL/Fl_Single_Window.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Single_Window.H')
-rw-r--r--FL/Fl_Single_Window.H15
1 files changed, 15 insertions, 0 deletions
diff --git a/FL/Fl_Single_Window.H b/FL/Fl_Single_Window.H
index b87c54a6f..c865e8b44 100644
--- a/FL/Fl_Single_Window.H
+++ b/FL/Fl_Single_Window.H
@@ -30,13 +30,28 @@
#include "Fl_Window.H"
+/**
+ This is the same as Fl_Window. However, it is possible that
+ some implementations will provide double-buffered windows by default.
+ This subcan be used to force single-buffering. This may be
+ useful for modifying existing programs that use incremental update, or
+ for some types of image data, such as a movie flipbook.
+*/
class FL_EXPORT Fl_Single_Window : public Fl_Window {
public:
void show();
void show(int a, char **b) {Fl_Window::show(a,b);}
void flush();
+ /**
+ Creates a new Fl_Single_Window widget using the given
+ size, and label (title) string.
+ */
Fl_Single_Window(int W, int H, const char *l=0)
: Fl_Window(W,H,l) {}
+ /**
+ Creates a new Fl_Single_Window widget using the given
+ position, size, and label (title) string.
+ */
Fl_Single_Window(int X, int Y, int W, int H, const char *l=0)
: Fl_Window(X,Y,W,H,l) {}
int make_current();