From d95dd7acc4af3a4bd521d151ba3576b91d8ace53 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 28 May 2021 13:29:05 +0200 Subject: New virtual member function Fl_Graphics_Driver::colored_rectf(). --- FL/Fl_Graphics_Driver.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL/Fl_Graphics_Driver.H') 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); -- cgit v1.2.3