From d5b3beb018f115a3f4e85d20fb0ae35f6280bc92 Mon Sep 17 00:00:00 2001 From: g Date: Mon, 22 Sep 2003 21:10:44 +0000 Subject: [PATCH] Better cut cursors and better chosen hot spots. git-svn-id: file:///srv/svn/gliv/trunk@98 dbf4865f-1ec6-0310-8412-f61adeb1ccb1 committer: g --- src/include/all_cursors.h | 190 ++++++++++++++++-------------- tools/cursors/cursor_move.xbm | 20 ++-- tools/cursors/cursor_move_mask.xbm | 18 +-- tools/cursors/cursor_rect_zoom.xbm | 20 ++-- tools/cursors/cursor_rect_zoom_mask.xbm | 18 +-- tools/cursors/cursor_rotate.xbm | 20 ++-- tools/cursors/cursor_rotate_mask.xbm | 18 +-- tools/cursors/cursor_zoom.xbm | 20 ++-- tools/cursors/cursor_zoom_mask.xbm | 18 +-- tools/cursors/cursor_zoom_rotate.xbm | 20 ++-- tools/cursors/cursor_zoom_rotate_mask.xbm | 18 +-- 11 files changed, 200 insertions(+), 180 deletions(-) rewrite src/include/all_cursors.h (92%) rewrite tools/cursors/cursor_move.xbm (90%) rewrite tools/cursors/cursor_move_mask.xbm (90%) rewrite tools/cursors/cursor_rect_zoom.xbm (90%) rewrite tools/cursors/cursor_rect_zoom_mask.xbm (89%) rewrite tools/cursors/cursor_rotate.xbm (90%) rewrite tools/cursors/cursor_rotate_mask.xbm (89%) rewrite tools/cursors/cursor_zoom.xbm (90%) rewrite tools/cursors/cursor_zoom_mask.xbm (90%) rewrite tools/cursors/cursor_zoom_rotate.xbm (100%) rewrite tools/cursors/cursor_zoom_rotate_mask.xbm (100%) diff --git a/src/include/all_cursors.h b/src/include/all_cursors.h dissimilarity index 92% index 739c358..42144aa 100644 --- a/src/include/all_cursors.h +++ b/src/include/all_cursors.h @@ -1,90 +1,100 @@ -/* Created with The GIMP */ -#define cursor_move_width 16 -#define cursor_move_height 16 -#define cursor_move_x_hot 0 -#define cursor_move_y_hot 0 -static char cursor_move_bits[] = { - 0x40, 0x00, 0xe0, 0x00, 0xf0, 0x01, 0x40, 0x00, 0x44, 0x04, 0x46, 0x0c, - 0xff, 0x1f, 0x46, 0x0c, 0x44, 0x04, 0x40, 0x00, 0xf0, 0x01, 0xe0, 0x00, - 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; -/* Created with The GIMP */ -#define cursor_move_mask_width 16 -#define cursor_move_mask_height 16 -#define cursor_move_mask_x_hot 0 -#define cursor_move_mask_y_hot 0 -static char cursor_move_mask_bits[] = { - 0xe0, 0x00, 0xf0, 0x01, 0xf8, 0x03, 0xf4, 0x05, 0xee, 0x0e, 0xff, 0x1f, - 0xff, 0x3f, 0xff, 0x1f, 0xee, 0x0e, 0xf4, 0x05, 0xf8, 0x03, 0xf0, 0x01, - 0xe0, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00 }; -/* Created with The GIMP */ -#define cursor_rect_zoom_width 16 -#define cursor_rect_zoom_height 16 -#define cursor_rect_zoom_x_hot 0 -#define cursor_rect_zoom_y_hot 0 -static char cursor_rect_zoom_bits[] = { - 0x78, 0x00, 0x84, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, - 0x01, 0x02, 0x02, 0x01, 0x84, 0x03, 0x78, 0x07, 0x00, 0x0e, 0x00, 0x1c, - 0x00, 0x38, 0x00, 0x70, 0x00, 0x20, 0x00, 0x00 }; -/* Created with The GIMP */ -#define cursor_rect_zoom_mask_width 16 -#define cursor_rect_zoom_mask_height 16 -#define cursor_rect_zoom_mask_x_hot 0 -#define cursor_rect_zoom_mask_y_hot 0 -static char cursor_rect_zoom_mask_bits[] = { - 0xfc, 0x00, 0xfe, 0x01, 0x87, 0x03, 0x03, 0x07, 0x03, 0x07, 0x03, 0x07, - 0x03, 0x07, 0x87, 0x03, 0xfe, 0x07, 0xfc, 0x0f, 0x78, 0x1f, 0x00, 0x3e, - 0x00, 0x7c, 0x00, 0xf8, 0x00, 0x70, 0x00, 0x20 }; -/* Created with The GIMP */ -#define cursor_rotate_width 16 -#define cursor_rotate_height 16 -#define cursor_rotate_x_hot 0 -#define cursor_rotate_y_hot 0 -static char cursor_rotate_bits[] = { - 0xc4, 0x1d, 0x6c, 0x30, 0x34, 0x60, 0x24, 0x40, 0x44, 0x00, 0xfc, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x44, 0x04, 0x48, 0x0c, 0x58, - 0x18, 0x6c, 0x70, 0x47, 0xc0, 0x01, 0x00, 0x00 }; -/* Created with The GIMP */ -#define cursor_rotate_mask_width 16 -#define cursor_rotate_mask_height 16 -#define cursor_rotate_mask_x_hot 0 -#define cursor_rotate_mask_y_hot 0 -static char cursor_rotate_mask_bits[] = { - 0xee, 0x3f, 0xfe, 0x7d, 0x7e, 0xf0, 0x7e, 0xe0, 0xfe, 0x40, 0xfe, 0x01, - 0xfe, 0x01, 0x00, 0xff, 0x00, 0xff, 0x04, 0xfe, 0x0e, 0xfc, 0x1e, 0xfc, - 0x7c, 0xff, 0xf8, 0xef, 0xf0, 0xc7, 0xc0, 0x01 }; -/* Created with The GIMP */ -#define cursor_zoom_width 16 -#define cursor_zoom_height 16 -#define cursor_zoom_x_hot 0 -#define cursor_zoom_y_hot 0 -static char cursor_zoom_bits[] = { - 0x78, 0x00, 0x84, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, - 0x01, 0x02, 0x02, 0x01, 0x84, 0x03, 0x78, 0x07, 0x00, 0x0e, 0x00, 0x1c, - 0x00, 0x38, 0x00, 0x70, 0x00, 0x20, 0x00, 0x00 }; -/* Created with The GIMP */ -#define cursor_zoom_mask_width 16 -#define cursor_zoom_mask_height 16 -#define cursor_zoom_mask_x_hot 0 -#define cursor_zoom_mask_y_hot 0 -static char cursor_zoom_mask_bits[] = { - 0xfc, 0x00, 0xfe, 0x01, 0x87, 0x03, 0x03, 0x07, 0x03, 0x07, 0x03, 0x07, - 0x03, 0x07, 0x87, 0x03, 0xfe, 0x07, 0xfc, 0x0f, 0x78, 0x1f, 0x00, 0x3e, - 0x00, 0x7c, 0x00, 0xf8, 0x00, 0x70, 0x00, 0x20 }; -/* Created with The GIMP */ -#define cursor_zoom_rotate_width 16 -#define cursor_zoom_rotate_height 16 -#define cursor_zoom_rotate_x_hot 0 -#define cursor_zoom_rotate_y_hot 0 -static char cursor_zoom_rotate_bits[] = { - 0xfc, 0x1d, 0xec, 0x30, 0x36, 0x61, 0x25, 0x42, 0x45, 0x02, 0xfd, 0x02, - 0x01, 0x02, 0x02, 0x01, 0x84, 0x7f, 0x78, 0x47, 0x04, 0x4e, 0x0c, 0x5c, - 0x18, 0x7c, 0x70, 0x77, 0xc0, 0x21, 0x00, 0x00 }; -/* Created with The GIMP */ -#define cursor_zoom_rotate_mask_width 16 -#define cursor_zoom_rotate_mask_height 16 -#define cursor_zoom_rotate_mask_x_hot 0 -#define cursor_zoom_rotate_mask_y_hot 0 -static char cursor_zoom_rotate_mask_bits[] = { - 0xfe, 0x3f, 0xfe, 0x7d, 0xff, 0xf3, 0x7f, 0xe7, 0xff, 0x47, 0xff, 0x07, - 0xff, 0x07, 0x87, 0xff, 0xfe, 0xff, 0xfc, 0xff, 0x7e, 0xff, 0x1e, 0xfe, - 0x7c, 0xff, 0xf8, 0xff, 0xf0, 0xf7, 0xc0, 0x21 }; +#define cursor_move_width 20 +#define cursor_move_height 20 +#define cursor_move_x_hot 10 +#define cursor_move_y_hot 10 +static char cursor_move_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x04, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x04, 0x00, + 0x40, 0x44, 0x00, 0x60, 0xc4, 0x00, 0xf0, 0xff, 0x01, 0x60, 0xc4, 0x00, + 0x40, 0x44, 0x00, 0x00, 0x04, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x0e, 0x00, + 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; +#define cursor_move_mask_width 20 +#define cursor_move_mask_height 20 +static char cursor_move_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, + 0x00, 0x0e, 0x00, 0x00, 0x1f, 0x00, 0x80, 0x3f, 0x00, 0x40, 0x5f, 0x00, + 0xe0, 0xee, 0x00, 0xf0, 0xff, 0x01, 0xf8, 0xff, 0x03, 0xf0, 0xff, 0x01, + 0xe0, 0xee, 0x00, 0x40, 0x5f, 0x00, 0x80, 0x3f, 0x00, 0x00, 0x1f, 0x00, + 0x00, 0x0e, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; +#define cursor_rect_zoom_width 20 +#define cursor_rect_zoom_height 20 +#define cursor_rect_zoom_x_hot 9 +#define cursor_rect_zoom_y_hot 9 +static char cursor_rect_zoom_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x80, 0x07, 0x00, 0x40, 0x08, 0x00, 0x20, 0x10, 0x00, 0x10, 0x20, 0x00, + 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x20, 0x10, 0x00, + 0x40, 0x38, 0x00, 0x80, 0x77, 0x00, 0x00, 0xe0, 0x00, 0x00, 0xc0, 0x01, + 0x00, 0x80, 0x03, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, +}; +#define cursor_rect_zoom_mask_width 20 +#define cursor_rect_zoom_mask_height 20 +static char cursor_rect_zoom_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x07, 0x00, + 0xc0, 0x0f, 0x00, 0xe0, 0x1f, 0x00, 0x70, 0x38, 0x00, 0x38, 0x70, 0x00, + 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x70, 0x38, 0x00, + 0xe0, 0x7f, 0x00, 0xc0, 0xff, 0x00, 0x80, 0xf7, 0x01, 0x00, 0xe0, 0x03, + 0x00, 0xc0, 0x07, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, +}; +#define cursor_rotate_width 20 +#define cursor_rotate_height 20 +#define cursor_rotate_x_hot 12 +#define cursor_rotate_y_hot 11 +static char cursor_rotate_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, + 0x40, 0xdc, 0x01, 0xc0, 0x06, 0x03, 0x40, 0x03, 0x06, 0x40, 0x02, 0x04, + 0x40, 0x04, 0x00, 0xc0, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xe0, 0x07, 0x00, 0x40, 0x04, 0x40, 0x80, 0x04, 0xc0, 0x80, 0x05, + 0x80, 0xc1, 0x06, 0x00, 0x77, 0x04, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, +}; +#define cursor_rotate_mask_width 20 +#define cursor_rotate_mask_height 20 +static char cursor_rotate_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x60, 0xfc, 0x01, + 0xe0, 0xfe, 0x03, 0xe0, 0xdf, 0x07, 0xe0, 0x07, 0x0f, 0xe0, 0x07, 0x0e, + 0xe0, 0x0f, 0x04, 0xe0, 0x1f, 0x00, 0xe0, 0x1f, 0x00, 0x00, 0xf0, 0x0f, + 0x00, 0xf0, 0x0f, 0x40, 0xe0, 0x0f, 0xe0, 0xc0, 0x0f, 0xe0, 0xc1, 0x0f, + 0xc0, 0xf7, 0x0f, 0x80, 0xff, 0x0e, 0x00, 0x7f, 0x0c, 0x00, 0x1c, 0x00, +}; +#define cursor_zoom_width 20 +#define cursor_zoom_height 20 +#define cursor_zoom_x_hot 9 +#define cursor_zoom_y_hot 9 +static char cursor_zoom_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x80, 0x07, 0x00, 0x40, 0x08, 0x00, 0x20, 0x10, 0x00, 0x10, 0x20, 0x00, + 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x20, 0x10, 0x00, + 0x40, 0x38, 0x00, 0x80, 0x77, 0x00, 0x00, 0xe0, 0x00, 0x00, 0xc0, 0x01, + 0x00, 0x80, 0x03, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, +}; +#define cursor_zoom_mask_width 20 +#define cursor_zoom_mask_height 20 +static char cursor_zoom_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x07, 0x00, + 0xc0, 0x0f, 0x00, 0xe0, 0x1f, 0x00, 0x70, 0x38, 0x00, 0x38, 0x70, 0x00, + 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x70, 0x38, 0x00, + 0xe0, 0x7f, 0x00, 0xc0, 0xff, 0x00, 0x80, 0xf7, 0x01, 0x00, 0xe0, 0x03, + 0x00, 0xc0, 0x07, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, +}; +#define cursor_zoom_rotate_width 20 +#define cursor_zoom_rotate_height 20 +#define cursor_zoom_rotate_x_hot 12 +#define cursor_zoom_rotate_y_hot 11 +static unsigned char cursor_zoom_rotate_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, + 0xc0, 0xdf, 0x01, 0xc0, 0x0e, 0x03, 0x60, 0x13, 0x06, 0x50, 0x22, 0x04, + 0x50, 0x24, 0x00, 0xd0, 0x2f, 0x00, 0x10, 0x20, 0x00, 0x20, 0x10, 0x00, + 0x40, 0xf8, 0x07, 0x80, 0x77, 0x04, 0x40, 0xe0, 0x04, 0xc0, 0xc0, 0x05, + 0x80, 0xc1, 0x07, 0x00, 0x77, 0x07, 0x00, 0x1c, 0x02, 0x00, 0x00, 0x00 +}; +#define cursor_zoom_rotate_mask_width 20 +#define cursor_zoom_rotate_mask_height 20 +static unsigned char cursor_zoom_rotate_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xe0, 0xff, 0x01, + 0xe0, 0xff, 0x03, 0xe0, 0xdf, 0x07, 0xf0, 0x3f, 0x0f, 0xf8, 0x77, 0x0e, + 0xf8, 0x7f, 0x04, 0xf8, 0x7f, 0x00, 0xf8, 0x7f, 0x00, 0x70, 0xf8, 0x0f, + 0xe0, 0xff, 0x0f, 0xc0, 0xff, 0x0f, 0xe0, 0xf7, 0x0f, 0xe0, 0xe1, 0x0f, + 0xc0, 0xf7, 0x0f, 0x80, 0xff, 0x0f, 0x00, 0x7f, 0x0f, 0x00, 0x1c, 0x02 +}; diff --git a/tools/cursors/cursor_move.xbm b/tools/cursors/cursor_move.xbm dissimilarity index 90% index 2767ab3..4809da9 100644 --- a/tools/cursors/cursor_move.xbm +++ b/tools/cursors/cursor_move.xbm @@ -1,9 +1,11 @@ -/* Created with The GIMP */ -#define cursor_move_width 16 -#define cursor_move_height 16 -#define cursor_move_x_hot 0 -#define cursor_move_y_hot 0 -static char cursor_move_bits[] = { - 0x40, 0x00, 0xe0, 0x00, 0xf0, 0x01, 0x40, 0x00, 0x44, 0x04, 0x46, 0x0c, - 0xff, 0x1f, 0x46, 0x0c, 0x44, 0x04, 0x40, 0x00, 0xf0, 0x01, 0xe0, 0x00, - 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; +#define cursor_move_width 20 +#define cursor_move_height 20 +#define cursor_move_x_hot 10 +#define cursor_move_y_hot 10 +static char cursor_move_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x04, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x04, 0x00, + 0x40, 0x44, 0x00, 0x60, 0xc4, 0x00, 0xf0, 0xff, 0x01, 0x60, 0xc4, 0x00, + 0x40, 0x44, 0x00, 0x00, 0x04, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x0e, 0x00, + 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; diff --git a/tools/cursors/cursor_move_mask.xbm b/tools/cursors/cursor_move_mask.xbm dissimilarity index 90% index c1ce10a..0583004 100644 --- a/tools/cursors/cursor_move_mask.xbm +++ b/tools/cursors/cursor_move_mask.xbm @@ -1,9 +1,9 @@ -/* Created with The GIMP */ -#define cursor_move_mask_width 16 -#define cursor_move_mask_height 16 -#define cursor_move_mask_x_hot 0 -#define cursor_move_mask_y_hot 0 -static char cursor_move_mask_bits[] = { - 0xe0, 0x00, 0xf0, 0x01, 0xf8, 0x03, 0xf4, 0x05, 0xee, 0x0e, 0xff, 0x1f, - 0xff, 0x3f, 0xff, 0x1f, 0xee, 0x0e, 0xf4, 0x05, 0xf8, 0x03, 0xf0, 0x01, - 0xe0, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00 }; +#define cursor_move_mask_width 20 +#define cursor_move_mask_height 20 +static char cursor_move_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, + 0x00, 0x0e, 0x00, 0x00, 0x1f, 0x00, 0x80, 0x3f, 0x00, 0x40, 0x5f, 0x00, + 0xe0, 0xee, 0x00, 0xf0, 0xff, 0x01, 0xf8, 0xff, 0x03, 0xf0, 0xff, 0x01, + 0xe0, 0xee, 0x00, 0x40, 0x5f, 0x00, 0x80, 0x3f, 0x00, 0x00, 0x1f, 0x00, + 0x00, 0x0e, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; diff --git a/tools/cursors/cursor_rect_zoom.xbm b/tools/cursors/cursor_rect_zoom.xbm dissimilarity index 90% index c191b5e..25080a2 100644 --- a/tools/cursors/cursor_rect_zoom.xbm +++ b/tools/cursors/cursor_rect_zoom.xbm @@ -1,9 +1,11 @@ -/* Created with The GIMP */ -#define cursor_rect_zoom_width 16 -#define cursor_rect_zoom_height 16 -#define cursor_rect_zoom_x_hot 0 -#define cursor_rect_zoom_y_hot 0 -static char cursor_rect_zoom_bits[] = { - 0x78, 0x00, 0x84, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, - 0x01, 0x02, 0x02, 0x01, 0x84, 0x03, 0x78, 0x07, 0x00, 0x0e, 0x00, 0x1c, - 0x00, 0x38, 0x00, 0x70, 0x00, 0x20, 0x00, 0x00 }; +#define cursor_rect_zoom_width 20 +#define cursor_rect_zoom_height 20 +#define cursor_rect_zoom_x_hot 9 +#define cursor_rect_zoom_y_hot 9 +static char cursor_rect_zoom_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x80, 0x07, 0x00, 0x40, 0x08, 0x00, 0x20, 0x10, 0x00, 0x10, 0x20, 0x00, + 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x20, 0x10, 0x00, + 0x40, 0x38, 0x00, 0x80, 0x77, 0x00, 0x00, 0xe0, 0x00, 0x00, 0xc0, 0x01, + 0x00, 0x80, 0x03, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, +}; diff --git a/tools/cursors/cursor_rect_zoom_mask.xbm b/tools/cursors/cursor_rect_zoom_mask.xbm dissimilarity index 89% index c260725..49ed82b 100644 --- a/tools/cursors/cursor_rect_zoom_mask.xbm +++ b/tools/cursors/cursor_rect_zoom_mask.xbm @@ -1,9 +1,9 @@ -/* Created with The GIMP */ -#define cursor_rect_zoom_mask_width 16 -#define cursor_rect_zoom_mask_height 16 -#define cursor_rect_zoom_mask_x_hot 0 -#define cursor_rect_zoom_mask_y_hot 0 -static char cursor_rect_zoom_mask_bits[] = { - 0xfc, 0x00, 0xfe, 0x01, 0x87, 0x03, 0x03, 0x07, 0x03, 0x07, 0x03, 0x07, - 0x03, 0x07, 0x87, 0x03, 0xfe, 0x07, 0xfc, 0x0f, 0x78, 0x1f, 0x00, 0x3e, - 0x00, 0x7c, 0x00, 0xf8, 0x00, 0x70, 0x00, 0x20 }; +#define cursor_rect_zoom_mask_width 20 +#define cursor_rect_zoom_mask_height 20 +static char cursor_rect_zoom_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x07, 0x00, + 0xc0, 0x0f, 0x00, 0xe0, 0x1f, 0x00, 0x70, 0x38, 0x00, 0x38, 0x70, 0x00, + 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x70, 0x38, 0x00, + 0xe0, 0x7f, 0x00, 0xc0, 0xff, 0x00, 0x80, 0xf7, 0x01, 0x00, 0xe0, 0x03, + 0x00, 0xc0, 0x07, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, +}; diff --git a/tools/cursors/cursor_rotate.xbm b/tools/cursors/cursor_rotate.xbm dissimilarity index 90% index 27014d3..8b89c6f 100644 --- a/tools/cursors/cursor_rotate.xbm +++ b/tools/cursors/cursor_rotate.xbm @@ -1,9 +1,11 @@ -/* Created with The GIMP */ -#define cursor_rotate_width 16 -#define cursor_rotate_height 16 -#define cursor_rotate_x_hot 0 -#define cursor_rotate_y_hot 0 -static char cursor_rotate_bits[] = { - 0xc4, 0x1d, 0x6c, 0x30, 0x34, 0x60, 0x24, 0x40, 0x44, 0x00, 0xfc, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x44, 0x04, 0x48, 0x0c, 0x58, - 0x18, 0x6c, 0x70, 0x47, 0xc0, 0x01, 0x00, 0x00 }; +#define cursor_rotate_width 20 +#define cursor_rotate_height 20 +#define cursor_rotate_x_hot 12 +#define cursor_rotate_y_hot 11 +static char cursor_rotate_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, + 0x40, 0xdc, 0x01, 0xc0, 0x06, 0x03, 0x40, 0x03, 0x06, 0x40, 0x02, 0x04, + 0x40, 0x04, 0x00, 0xc0, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xe0, 0x07, 0x00, 0x40, 0x04, 0x40, 0x80, 0x04, 0xc0, 0x80, 0x05, + 0x80, 0xc1, 0x06, 0x00, 0x77, 0x04, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, +}; diff --git a/tools/cursors/cursor_rotate_mask.xbm b/tools/cursors/cursor_rotate_mask.xbm dissimilarity index 89% index 478e7db..2463e33 100644 --- a/tools/cursors/cursor_rotate_mask.xbm +++ b/tools/cursors/cursor_rotate_mask.xbm @@ -1,9 +1,9 @@ -/* Created with The GIMP */ -#define cursor_rotate_mask_width 16 -#define cursor_rotate_mask_height 16 -#define cursor_rotate_mask_x_hot 0 -#define cursor_rotate_mask_y_hot 0 -static char cursor_rotate_mask_bits[] = { - 0xee, 0x3f, 0xfe, 0x7d, 0x7e, 0xf0, 0x7e, 0xe0, 0xfe, 0x40, 0xfe, 0x01, - 0xfe, 0x01, 0x00, 0xff, 0x00, 0xff, 0x04, 0xfe, 0x0e, 0xfc, 0x1e, 0xfc, - 0x7c, 0xff, 0xf8, 0xef, 0xf0, 0xc7, 0xc0, 0x01 }; +#define cursor_rotate_mask_width 20 +#define cursor_rotate_mask_height 20 +static char cursor_rotate_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x60, 0xfc, 0x01, + 0xe0, 0xfe, 0x03, 0xe0, 0xdf, 0x07, 0xe0, 0x07, 0x0f, 0xe0, 0x07, 0x0e, + 0xe0, 0x0f, 0x04, 0xe0, 0x1f, 0x00, 0xe0, 0x1f, 0x00, 0x00, 0xf0, 0x0f, + 0x00, 0xf0, 0x0f, 0x40, 0xe0, 0x0f, 0xe0, 0xc0, 0x0f, 0xe0, 0xc1, 0x0f, + 0xc0, 0xf7, 0x0f, 0x80, 0xff, 0x0e, 0x00, 0x7f, 0x0c, 0x00, 0x1c, 0x00, +}; diff --git a/tools/cursors/cursor_zoom.xbm b/tools/cursors/cursor_zoom.xbm dissimilarity index 90% index c692571..36105df 100644 --- a/tools/cursors/cursor_zoom.xbm +++ b/tools/cursors/cursor_zoom.xbm @@ -1,9 +1,11 @@ -/* Created with The GIMP */ -#define cursor_zoom_width 16 -#define cursor_zoom_height 16 -#define cursor_zoom_x_hot 0 -#define cursor_zoom_y_hot 0 -static char cursor_zoom_bits[] = { - 0x78, 0x00, 0x84, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, - 0x01, 0x02, 0x02, 0x01, 0x84, 0x03, 0x78, 0x07, 0x00, 0x0e, 0x00, 0x1c, - 0x00, 0x38, 0x00, 0x70, 0x00, 0x20, 0x00, 0x00 }; +#define cursor_zoom_width 20 +#define cursor_zoom_height 20 +#define cursor_zoom_x_hot 9 +#define cursor_zoom_y_hot 9 +static char cursor_zoom_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x80, 0x07, 0x00, 0x40, 0x08, 0x00, 0x20, 0x10, 0x00, 0x10, 0x20, 0x00, + 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x10, 0x20, 0x00, 0x20, 0x10, 0x00, + 0x40, 0x38, 0x00, 0x80, 0x77, 0x00, 0x00, 0xe0, 0x00, 0x00, 0xc0, 0x01, + 0x00, 0x80, 0x03, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, +}; diff --git a/tools/cursors/cursor_zoom_mask.xbm b/tools/cursors/cursor_zoom_mask.xbm dissimilarity index 90% index ea12dbd..03ae487 100644 --- a/tools/cursors/cursor_zoom_mask.xbm +++ b/tools/cursors/cursor_zoom_mask.xbm @@ -1,9 +1,9 @@ -/* Created with The GIMP */ -#define cursor_zoom_mask_width 16 -#define cursor_zoom_mask_height 16 -#define cursor_zoom_mask_x_hot 0 -#define cursor_zoom_mask_y_hot 0 -static char cursor_zoom_mask_bits[] = { - 0xfc, 0x00, 0xfe, 0x01, 0x87, 0x03, 0x03, 0x07, 0x03, 0x07, 0x03, 0x07, - 0x03, 0x07, 0x87, 0x03, 0xfe, 0x07, 0xfc, 0x0f, 0x78, 0x1f, 0x00, 0x3e, - 0x00, 0x7c, 0x00, 0xf8, 0x00, 0x70, 0x00, 0x20 }; +#define cursor_zoom_mask_width 20 +#define cursor_zoom_mask_height 20 +static char cursor_zoom_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x07, 0x00, + 0xc0, 0x0f, 0x00, 0xe0, 0x1f, 0x00, 0x70, 0x38, 0x00, 0x38, 0x70, 0x00, + 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x38, 0x70, 0x00, 0x70, 0x38, 0x00, + 0xe0, 0x7f, 0x00, 0xc0, 0xff, 0x00, 0x80, 0xf7, 0x01, 0x00, 0xe0, 0x03, + 0x00, 0xc0, 0x07, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x07, 0x00, 0x00, 0x02, +}; diff --git a/tools/cursors/cursor_zoom_rotate.xbm b/tools/cursors/cursor_zoom_rotate.xbm dissimilarity index 100% index c47ae8c..96a0b64 100644 --- a/tools/cursors/cursor_zoom_rotate.xbm +++ b/tools/cursors/cursor_zoom_rotate.xbm @@ -1,9 +1,11 @@ -/* Created with The GIMP */ -#define cursor_zoom_rotate_width 16 -#define cursor_zoom_rotate_height 16 -#define cursor_zoom_rotate_x_hot 0 -#define cursor_zoom_rotate_y_hot 0 -static char cursor_zoom_rotate_bits[] = { - 0xfc, 0x1d, 0xec, 0x30, 0x36, 0x61, 0x25, 0x42, 0x45, 0x02, 0xfd, 0x02, - 0x01, 0x02, 0x02, 0x01, 0x84, 0x7f, 0x78, 0x47, 0x04, 0x4e, 0x0c, 0x5c, - 0x18, 0x7c, 0x70, 0x77, 0xc0, 0x21, 0x00, 0x00 }; +#define cursor_zoom_rotate_width 20 +#define cursor_zoom_rotate_height 20 +#define cursor_zoom_rotate_x_hot 12 +#define cursor_zoom_rotate_y_hot 11 +static unsigned char cursor_zoom_rotate_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, + 0xc0, 0xdf, 0x01, 0xc0, 0x0e, 0x03, 0x60, 0x13, 0x06, 0x50, 0x22, 0x04, + 0x50, 0x24, 0x00, 0xd0, 0x2f, 0x00, 0x10, 0x20, 0x00, 0x20, 0x10, 0x00, + 0x40, 0xf8, 0x07, 0x80, 0x77, 0x04, 0x40, 0xe0, 0x04, 0xc0, 0xc0, 0x05, + 0x80, 0xc1, 0x07, 0x00, 0x77, 0x07, 0x00, 0x1c, 0x02, 0x00, 0x00, 0x00 +}; diff --git a/tools/cursors/cursor_zoom_rotate_mask.xbm b/tools/cursors/cursor_zoom_rotate_mask.xbm dissimilarity index 100% index 94c9557..94b5ac2 100644 --- a/tools/cursors/cursor_zoom_rotate_mask.xbm +++ b/tools/cursors/cursor_zoom_rotate_mask.xbm @@ -1,9 +1,9 @@ -/* Created with The GIMP */ -#define cursor_zoom_rotate_mask_width 16 -#define cursor_zoom_rotate_mask_height 16 -#define cursor_zoom_rotate_mask_x_hot 0 -#define cursor_zoom_rotate_mask_y_hot 0 -static char cursor_zoom_rotate_mask_bits[] = { - 0xfe, 0x3f, 0xfe, 0x7d, 0xff, 0xf3, 0x7f, 0xe7, 0xff, 0x47, 0xff, 0x07, - 0xff, 0x07, 0x87, 0xff, 0xfe, 0xff, 0xfc, 0xff, 0x7e, 0xff, 0x1e, 0xfe, - 0x7c, 0xff, 0xf8, 0xff, 0xf0, 0xf7, 0xc0, 0x21 }; +#define cursor_zoom_rotate_mask_width 20 +#define cursor_zoom_rotate_mask_height 20 +static unsigned char cursor_zoom_rotate_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xe0, 0xff, 0x01, + 0xe0, 0xff, 0x03, 0xe0, 0xdf, 0x07, 0xf0, 0x3f, 0x0f, 0xf8, 0x77, 0x0e, + 0xf8, 0x7f, 0x04, 0xf8, 0x7f, 0x00, 0xf8, 0x7f, 0x00, 0x70, 0xf8, 0x0f, + 0xe0, 0xff, 0x0f, 0xc0, 0xff, 0x0f, 0xe0, 0xf7, 0x0f, 0xe0, 0xe1, 0x0f, + 0xc0, 0xf7, 0x0f, 0x80, 0xff, 0x0f, 0x00, 0x7f, 0x0f, 0x00, 0x1c, 0x02 +}; -- 2.11.4.GIT