diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-04-17 15:01:20 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-04-17 15:01:20 +0000 |
| commit | c9d3eabf4e201384a930707fbe1b8a01771f5e3d (patch) | |
| tree | fc9c2a47341ad484ebe787a8cf6524ac8b62ceaf /FL/Fl_Graphics_Driver.H | |
| parent | 9ae4a99081237f94d47a480d41313dc65737bd98 (diff) | |
virtualized Fl::set_color and free_color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 90af5f134..08ef5694c 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -178,6 +178,8 @@ public: virtual void line_style(int style, int width=0, char* dashes=0) = 0; // --- implementation is in src/fl_color.cxx which includes src/cfg_gfx/xxx_color.cxx virtual void color(Fl_Color c) { color_ = c; } + virtual void set_color(Fl_Color i, unsigned int c); + virtual void free_color(Fl_Color i, int overlay); virtual Fl_Color color() { return color_; } virtual void color(uchar r, uchar g, uchar b) = 0; // --- implementation is in src/fl_font.cxx which includes src/drivers/xxx/Fl_xxx_Graphics_Driver_font.cxx |
