summaryrefslogtreecommitdiff
path: root/FL
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 /FL
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 'FL')
-rw-r--r--FL/Fl_Screen_Driver.H3
-rw-r--r--FL/Fl_System_Driver.H3
2 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index df917a066..00d3d763d 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -180,6 +180,9 @@ public:
/* Number of pixels per drawing unit for the display.
The default implementation may be enough. */
virtual float retina_factor() { return 1; }
+ // The default implementation of the next 2 functions may be enough.
+ virtual int run_also_windowless();
+ virtual int wait_also_windowless(double delay);
};
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index a543906fd..ce4ba5129 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -225,9 +225,6 @@ public:
virtual const char *meta_name() { return "Meta"; }
virtual const char *alt_name() { return "Alt"; }
virtual const char *control_name() { return "Ctrl"; }
- // The default implementation of the next 2 functions may be enough.
- virtual int run_also_windowless();
- virtual int wait_also_windowless(double delay);
};
#endif // FL_SYSTEM_DRIVER_H