diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-02-06 21:53:06 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-02-06 21:53:06 +1300 |
commit | c47bea48a24e51e178354f3e3bb53d8b9964b769 (patch) | |
tree | 0235aa00983da4722cc49de315f76d3ea3978026 /src/c_fl_draw.cpp | |
parent | feef4803ef4cabd6190e5a76c34ccc9866da380d (diff) |
Moved mouse cursors and added cursor functions to FLTK.Draw
Diffstat (limited to 'src/c_fl_draw.cpp')
-rw-r--r-- | src/c_fl_draw.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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(); } |