From c47bea48a24e51e178354f3e3bb53d8b9964b769 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 6 Feb 2024 21:53:06 +1300 Subject: Moved mouse cursors and added cursor functions to FLTK.Draw --- src/c_fl_draw.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/c_fl_draw.cpp') diff --git a/src/c_fl_draw.cpp b/src/c_fl_draw.cpp index d1087fe..f8a5303 100644 --- a/src/c_fl_draw.cpp +++ b/src/c_fl_draw.cpp @@ -102,6 +102,14 @@ void fl_draw_set_color2(uchar r, uchar g, uchar b) { fl_color(r, g, b); } +void fl_draw_set_cursor(int m) { + fl_cursor((Fl_Cursor)m); +} + +void fl_draw_set_cursor2(int m, unsigned int f, unsigned int b) { + fl_cursor((Fl_Cursor)m, f, b); +} + unsigned int fl_draw_get_font() { return (unsigned int)fl_font(); } -- cgit