From 3b437dae8ce735cded87e93021cb2026cc63cb30 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 9 Jan 2018 07:26:49 +0000 Subject: 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 --- FL/Fl_Screen_Driver.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') 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 -- cgit v1.2.3