mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 16:36:37 +08:00
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:
+2
-2
@@ -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
@@ -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. ",
|
||||
" ........ ",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user