diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-13 12:57:00 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-13 12:57:00 +0000 |
| commit | 5d1df0e789c794b8040c5db0d84b03ae2b42fd8d (patch) | |
| tree | 4e99ebb978d30bf6c7138181489dd37ce435c310 /FL/Fl_Screen_Driver.H | |
| parent | 8deac1e6baf7a016aabd3b6cb5ccffd7f09263cd (diff) | |
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
Diffstat (limited to 'FL/Fl_Screen_Driver.H')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 4 |
1 files changed, 4 insertions, 0 deletions
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; }; |
