summaryrefslogtreecommitdiff
path: root/src/Fl_Screen_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-02-08 12:47:40 +0000
committerManolo Gouy <Manolo>2018-02-08 12:47:40 +0000
commitb78b2f7f5f24b98640d31bb8ee7b573703e8cc19 (patch)
treef7fa162655da6b426cf8915e2549d877fe9836d6 /src/Fl_Screen_Driver.cxx
parent0c8ca7944a13a7143846ed448c9f88e088031ae1 (diff)
Move xxx_also_windowless member functions from Fl_System_Driver to Fl_Screen_Driver.
Because these functions are related to Fl_Screen_Driver::wait(double) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Screen_Driver.cxx')
-rw-r--r--src/Fl_Screen_Driver.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx
index cd0bdbde3..b10aa13ac 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -520,6 +520,15 @@ int Fl_Screen_Driver::parse_color(const char* p, uchar& r, uchar& g, uchar& b)
return 1;
}
+int Fl_Screen_Driver::run_also_windowless() {
+ return Fl::run();
+}
+
+int Fl_Screen_Driver::wait_also_windowless(double delay) {
+ Fl::wait(delay);
+ return Fl::first_window() != NULL;
+}
+
//
// End of "$Id$".
//