summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-06-23 17:14:57 +0000
committerManolo Gouy <Manolo>2014-06-23 17:14:57 +0000
commit5bc882550929ed6c58a0de53190ea1d10448231e (patch)
tree67e122cfd3008c0624a831c8c52a244f7e6e4862 /src
parentf60b8778f7562bb920cfb76fa0a03e177cc9cf19 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/fl_cursor.cxx4
-rw-r--r--src/fl_cursor_wait.xpm72
2 files changed, 29 insertions, 47 deletions
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. ",
+" ........ ",
+};