summaryrefslogtreecommitdiff
path: root/src/drivers/Pico
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/Pico')
-rw-r--r--src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx8
1 files changed, 8 insertions, 0 deletions
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 <FL/fl_draw.H>
+
+
+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)
{