summaryrefslogtreecommitdiff
path: root/src/Fl_Single_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Single_Window.cxx')
-rw-r--r--src/Fl_Single_Window.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Fl_Single_Window.cxx b/src/Fl_Single_Window.cxx
new file mode 100644
index 000000000..6bfe091a5
--- /dev/null
+++ b/src/Fl_Single_Window.cxx
@@ -0,0 +1,14 @@
+/* Fl_Single_Window.H
+
+ A window with a single-buffered context
+
+ This is provided for systems where the base class is double
+ buffered. You can turn it off using this subclass in case
+ your display looks better without it.
+
+*/
+
+#include <FL/Fl_Single_Window.H>
+
+void Fl_Single_Window::show() {Fl_Window::show();}
+void Fl_Single_Window::flush() {Fl_Window::flush();}