diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-13 16:12:57 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-13 16:12:57 +0000 |
| commit | d8f96b579d9359f62b984b2043a8f8c6854efe98 (patch) | |
| tree | 00b5fa4cd4a195aa82431b0c211a717d6e4b6d86 /FL/Fl_Screen_Driver.H | |
| parent | 4af616a7a27c3104938bf580502c762becd4417b (diff) | |
Moed Fl::visual and System_Scheme to the driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Screen_Driver.H')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index b5691cafd..e9b7a65a1 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -32,6 +32,8 @@ // TODO: read screen to image // TODO: application shortcuts +class Fl_Window; + class FL_EXPORT Fl_Screen_Driver : public Fl_Device { @@ -51,6 +53,7 @@ public: static Fl_Screen_Driver *newScreenDriver(); // --- display management virtual void display(const char *disp); + virtual int visual(int flags); // --- screen configuration virtual void init() = 0; virtual int x() = 0; @@ -72,10 +75,13 @@ public: virtual void beep(int type) = 0; // --- global events virtual void flush() = 0; + virtual double wait(double time_to_wait) = 0; + virtual int ready() = 0; + virtual void grab(Fl_Window* win) = 0; // --- global colors virtual int parse_color(const char* p, uchar& r, uchar& g, uchar& b) = 0; virtual void get_system_colors() = 0; - + virtual const char *get_system_scheme(); }; |
