mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
628e07eb47
* app/paint_core.[ch]: set the fg or bg color if ctrl or alt is held. use the new dropper cursor. * app/cursorutil.[ch], app/gdisplay.[ch], app/rect_select.c: Use GimpCursorType enum values > GDK_CURSOR_LAST instead of seperate functions to choose between cursor types. * app/color_picker.c: use the new dropper cursor. * app/paintbrush.c, app/airbrush.c, app/paintbrush.c: use the new color picking feature of paint_core. * cursors/dropper, cursors/droppermsk: new cursor for the color picker tool. (this cursor is REALLY ugly, someone should fix it)
12 lines
555 B
Plaintext
12 lines
555 B
Plaintext
#define dropper_width 22
|
|
#define dropper_height 22
|
|
#define dropper_x_hot 2
|
|
#define dropper_y_hot 20
|
|
static unsigned char dropper_bits[] = {
|
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xfc,
|
|
0xff, 0x3f, 0xf8, 0xff, 0x3f, 0xf4, 0xff, 0x87, 0xf7, 0xff, 0x6f, 0xf7,
|
|
0xff, 0x97, 0xf8, 0xff, 0x8b, 0xfe, 0xff, 0x65, 0xfe, 0xff, 0xb2, 0xfe,
|
|
0x7f, 0xd9, 0xff, 0xbf, 0xec, 0xff, 0x5f, 0xf6, 0xff, 0x2f, 0xfb, 0xff,
|
|
0x97, 0xfd, 0xff, 0xcb, 0xfe, 0xff, 0x6b, 0xff, 0xff, 0xbd, 0xff, 0xff,
|
|
0xc7, 0xff, 0xff, 0xf7, 0xff, 0xff};
|