mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 20:12:30 +00:00
3f7b118225
2006-06-01 Michael Natterer <mitch@gimp.org> * cursors/Makefile.am * cursors/modifier-bad.png * cursors/xbm/modifier-bad-mask.xbm * cursors/xbm/modifier-bad.xbm: new "bad" cursor modifier. Replaces the "bad" cursor. * cursors/gimp-tool-cursors.xcf: added it here too. * app/widgets/widgets-enums.h: added GIMP_CURSOR_MODIFIER_BAD. * app/widgets/gimpcursor.c: add the bad modifier. Leave the bad cursor there for now. * app/display/gimpdisplayshell-callbacks.c * app/tools/gimpaligntool.c * app/tools/gimpblendtool.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpclonetool.c * app/tools/gimpcolortool.c * app/tools/gimpfliptool.c * app/tools/gimpiscissorstool.c * app/tools/gimpmovetool.c * app/tools/gimptransformtool.c * app/tools/gimpvectortool.c: use the modifier instead of the cursor. Fixes hotspot jumping when switching between normal and bad cursors. The changed cursor_update() functions even make more sense IMHO. Fixes bug #158407.
15 lines
909 B
C
15 lines
909 B
C
#define modifier_bad_width 32
|
|
#define modifier_bad_height 32
|
|
static unsigned char modifier_bad_bits[] = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0xc0, 0x3f,
|
|
0x00, 0x00, 0xc0, 0x38, 0x00, 0x00, 0x60, 0x7c, 0x00, 0x00, 0x60, 0x6e,
|
|
0x00, 0x00, 0x60, 0x67, 0x00, 0x00, 0xe0, 0x63, 0x00, 0x00, 0xc0, 0x31,
|
|
0x00, 0x00, 0xc0, 0x3f, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|