From 5bc882550929ed6c58a0de53190ea1d10448231e Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 23 Jun 2014 17:14:57 +0000 Subject: Since fl_cursor_wait.xpm is used only on Mac OS, draw it the Mac way. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_cursor.cxx | 4 +-- src/fl_cursor_wait.xpm | 72 +++++++++++++++++++------------------------------- 2 files changed, 29 insertions(+), 47 deletions(-) (limited to 'src') diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx index c958c9668..71a9db5ea 100644 --- a/src/fl_cursor.cxx +++ b/src/fl_cursor.cxx @@ -73,8 +73,8 @@ static void fallback_cursor(Fl_Window *w, Fl_Cursor c) { switch (c) { case FL_CURSOR_WAIT: xpm = (const char**)fl_cursor_wait_xpm; - hotx = 8; - hoty = 15; + hotx = 7; + hoty = 9; break; case FL_CURSOR_HELP: xpm = (const char**)fl_cursor_help_xpm; diff --git a/src/fl_cursor_wait.xpm b/src/fl_cursor_wait.xpm index 4f91c5d8e..bc78bb379 100644 --- a/src/fl_cursor_wait.xpm +++ b/src/fl_cursor_wait.xpm @@ -1,46 +1,28 @@ /* XPM */ -static const 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", -".................", -".+@@@@@@@@@@@@@+.", -".................", -" .#$$$$$$$$$$$#. ", -" .%$$$$$$$$$$$%. ", -" .&$$$$$$$$$$$&. ", -" *$$$$$$$$$$$* ", -" =$$$$$$$$$$$= ", -" .#$$$$$$$$$#. ", -" .-$$$$$$$$$-. ", -" *$$$$$$$$$* ", -" .$=.....=$. ", -" .%-.....-%. ", -" =#=...=#= ", -" .-%...%-. ", -" .##.##. ", -" .#$.$#. ", -" .-$$.$$-. ", -" =$$$.$$$= ", -" .%$$$.$$$%. ", -" .$$$$.$$$$. ", -" *$$$$.$$$$* ", -" .-$$$$.$$$$-. ", -" .#$$$$.$$$$#. ", -" =$$#&*.*&#$$= ", -" *$%.......%$* ", -" .&#.........#&. ", -" .%-.........-%. ", -" .#$$$$$$$$$$$#. ", -".................", -".+@@@@@@@@@@@@@+.", -"................."}; +static char *fl_cursor_wait_xpm[] = { +/* width height ncolors chars_per_pixel */ +"13 18 3 1", +/* colors */ +" c None", +". c #FFFFFF", +"B c #000000", +/* pixels */ +" ........ ", +" .BBBBBB. ", +" .BBBBBB. ", +" .BBBBBB. ", +" .BBBBBB. ", +" .B......B. ", +".B....B...B. ", +".B....B...B. ", +".B....B...BB.", +".B.BBBB...BB.", +".B........B. ", +".B........B. ", +" .B......B. ", +" .BBBBBB. ", +" .BBBBBB. ", +" .BBBBBB. ", +" .BBBBBB. ", +" ........ ", +}; -- cgit v1.2.3