summaryrefslogtreecommitdiff
path: root/FL/Fl_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-05-28 13:29:05 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-05-28 13:30:59 +0200
commitd95dd7acc4af3a4bd521d151ba3576b91d8ace53 (patch)
treecda2a4e0b87730f5357cb01bc7e3a8e035d739dc /FL/Fl_Graphics_Driver.H
parent47ba6632b1be5ab7f28726735fc7789916191ca7 (diff)
New virtual member function Fl_Graphics_Driver::colored_rectf().
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
-rw-r--r--FL/Fl_Graphics_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 58ea0062a..67b7a31bd 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -257,6 +257,8 @@ public:
virtual void rect(int x, int y, int w, int h);
virtual void focus_rect(int x, int y, int w, int h);
virtual void rectf(int x, int y, int w, int h);
+ // the default implementation is most likely enough
+ virtual void colored_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b);
virtual void line(int x, int y, int x1, int y1);
/** see fl_line(int, int, int, int, int, int) */
virtual void line(int x, int y, int x1, int y1, int x2, int y2);