diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-05-28 13:29:05 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-05-28 13:30:59 +0200 |
| commit | d95dd7acc4af3a4bd521d151ba3576b91d8ace53 (patch) | |
| tree | cda2a4e0b87730f5357cb01bc7e3a8e035d739dc /src/Fl_Graphics_Driver.cxx | |
| parent | 47ba6632b1be5ab7f28726735fc7789916191ca7 (diff) | |
New virtual member function Fl_Graphics_Driver::colored_rectf().
Diffstat (limited to 'src/Fl_Graphics_Driver.cxx')
| -rw-r--r-- | src/Fl_Graphics_Driver.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 3ac4d3154..d558b739b 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -461,6 +461,11 @@ void Fl_Graphics_Driver::rect(int x, int y, int w, int h) {} /** see fl_rectf() */ void Fl_Graphics_Driver::rectf(int x, int y, int w, int h) {} +void Fl_Graphics_Driver::colored_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b) { + color(r, g, b); + rectf(x, y, w, h); +} + /** see fl_line(int, int, int, int) */ void Fl_Graphics_Driver::line(int x, int y, int x1, int y1) {} |
