From 5d1df0e789c794b8040c5db0d84b03ae2b42fd8d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 13 Feb 2016 12:57:00 +0000 Subject: Details on PORTME items. Move fl_parse_color() to screen drivers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Screen_Driver.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FL/Fl_Screen_Driver.H') diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index 3fe3837b6..d00cbb46a 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -44,6 +44,8 @@ protected: public: static Fl_Screen_Driver *newScreenDriver(); + // --- display management + virtual void display(const char *disp); // --- screen configuration virtual void init() = 0; virtual int x() = 0; @@ -65,6 +67,8 @@ public: virtual void beep(int type) = 0; // --- global events virtual void flush() = 0; + // --- global colors + virtual int parse_color(const char* p, uchar& r, uchar& g, uchar& b) = 0; }; -- cgit v1.2.3