diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-13 13:17:29 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-13 13:17:29 +0000 |
| commit | c95169ea492a0d1b101f42b3f46d4e8607b9dd4a (patch) | |
| tree | 47b89783d0b83b2b59d8fbaf6764aade5e3f57bd /FL | |
| parent | 5d1df0e789c794b8040c5db0d84b03ae2b42fd8d (diff) | |
Refactoring get_system_colors() into Fl_Screen_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index d00cbb46a..b5691cafd 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -43,6 +43,11 @@ protected: int num_screens; public: + static char bg_set; + static char bg2_set; + static char fg_set; + +public: static Fl_Screen_Driver *newScreenDriver(); // --- display management virtual void display(const char *disp); @@ -69,6 +74,8 @@ public: virtual void flush() = 0; // --- global colors virtual int parse_color(const char* p, uchar& r, uchar& g, uchar& b) = 0; + virtual void get_system_colors() = 0; + }; |
