From 332dc1b7acfedbf80b71cc6f538a14f24d435df3 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 16 Jun 2014 11:17:57 +0000 Subject: Add method to set any custom cursor, based on a Fl_RGB_Image object. Also change our fallback cursors to use this method, so that fallback cursors are handled in a platform independent manner. STR #2660. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/x.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL/x.H') diff --git a/FL/x.H b/FL/x.H index 4381eb350..46f7108e2 100644 --- a/FL/x.H +++ b/FL/x.H @@ -150,6 +150,8 @@ public: static Fl_X* i(const Fl_Window* wi) {return wi->i;} void setwindow(Fl_Window* wi) {w=wi; wi->i=this;} void sendxjunk(); + int set_cursor(Fl_Cursor); + int set_cursor(const Fl_RGB_Image*, int, int); static void make_xid(Fl_Window*,XVisualInfo* =fl_visual, Colormap=fl_colormap); static Fl_X* set_xid(Fl_Window*, Window); // kludges to get around protection: -- cgit v1.2.3