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
This commit is contained in:
Manolo Gouy
2014-06-23 17:14:57 +00:00
parent f60b8778f7
commit 5bc8825509
2 changed files with 29 additions and 47 deletions
+2 -2
View File
@@ -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;
+27 -45
View File
@@ -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. ",
" ........ ",
};