From 548ac7a62306a8e0e504813e858815f9aeb5864d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 8 Mar 2016 16:08:34 +0000 Subject: A few more Pico fixes. Tests with single buffered windows render well for those parts that are implemented. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/drivers/Pico') diff --git a/src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx b/src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx index 873e51c79..407b29662 100644 --- a/src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx +++ b/src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx @@ -19,6 +19,14 @@ #include "../../config_lib.h" #include "Fl_Pico_Graphics_Driver.h" +#include + + +void fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b) { + fl_color(r,g,b); + fl_rectf(x,y,w,h); +} + void Fl_Pico_Graphics_Driver::point(int x, int y) { -- cgit v1.2.3