summaryrefslogtreecommitdiff
path: root/src/fl_cursor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_cursor.cxx')
-rw-r--r--src/fl_cursor.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx
index e5318bb01..2cdf8d41b 100644
--- a/src/fl_cursor.cxx
+++ b/src/fl_cursor.cxx
@@ -39,6 +39,10 @@
#endif
#include <FL/fl_draw.H>
+/**
+ Sets the cursor for the current window to the specified shape and colors.
+ The cursors are defined in the <FL/Enumerations.H> header file.
+ */
void fl_cursor(Fl_Cursor c, Fl_Color fg, Fl_Color bg) {
if (Fl::first_window()) Fl::first_window()->cursor(c,fg,bg);
}