diff options
| author | Manolo Gouy <Manolo> | 2018-01-09 07:26:49 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-01-09 07:26:49 +0000 |
| commit | 3b437dae8ce735cded87e93021cb2026cc63cb30 (patch) | |
| tree | 874a5c2e44dd202e26d980a804dabf7d6114454b /FL/Fl_Screen_Driver.H | |
| parent | 9f0e9ff8138fcd1ee817fe144282513283b0e331 (diff) | |
Put a default implementation of parse_color() in Fl_Screen_Driver and only Fl_X11_Screen_Driver reimplements it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Screen_Driver.H')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index c3b36779b..df917a066 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -92,7 +92,8 @@ public: 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; + /* the default implementation of parse_color() may be enough */ + virtual int parse_color(const char* p, uchar& r, uchar& g, uchar& b); virtual void get_system_colors() = 0; virtual const char *get_system_scheme(); // --- global timers |
