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 --- src/fl_cursor_wait.xpm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/fl_cursor_wait.xpm (limited to 'src/fl_cursor_wait.xpm') diff --git a/src/fl_cursor_wait.xpm b/src/fl_cursor_wait.xpm new file mode 100644 index 000000000..3fb2ce32a --- /dev/null +++ b/src/fl_cursor_wait.xpm @@ -0,0 +1,46 @@ +/* XPM */ +static char * fl_cursor_wait_xpm[] = { +"17 32 11 1", +" c None", +". c #FFFFFF", +"+ c #2E2E2E", +"@ c #202020", +"# c #242424", +"$ c #000000", +"% c #494949", +"& c #929292", +"* c #B6B6B6", +"= c #DBDBDB", +"- c #6D6D6D", +".................", +".+@@@@@@@@@@@@@+.", +".................", +" .#$$$$$$$$$$$#. ", +" .%$$$$$$$$$$$%. ", +" .&$$$$$$$$$$$&. ", +" *$$$$$$$$$$$* ", +" =$$$$$$$$$$$= ", +" .#$$$$$$$$$#. ", +" .-$$$$$$$$$-. ", +" *$$$$$$$$$* ", +" .$=.....=$. ", +" .%-.....-%. ", +" =#=...=#= ", +" .-%...%-. ", +" .##.##. ", +" .#$.$#. ", +" .-$$.$$-. ", +" =$$$.$$$= ", +" .%$$$.$$$%. ", +" .$$$$.$$$$. ", +" *$$$$.$$$$* ", +" .-$$$$.$$$$-. ", +" .#$$$$.$$$$#. ", +" =$$#&*.*&#$$= ", +" *$%.......%$* ", +" .&#.........#&. ", +" .%-.........-%. ", +" .#$$$$$$$$$$$#. ", +".................", +".+@@@@@@@@@@@@@+.", +"................."}; -- cgit v1.2.3