Show "pipette"-shaped pointer when selecting colors
This commit is contained in:
parent
6735340566
commit
e0d7e0728b
6 changed files with 39 additions and 8 deletions
|
|
@ -13856,6 +13856,7 @@ static void cleanup(void)
|
|||
free_cursor(&cursor_wand);
|
||||
free_cursor(&cursor_insertion);
|
||||
free_cursor(&cursor_rotate);
|
||||
free_cursor(&cursor_pipette);
|
||||
|
||||
for (i = 0; i < NUM_COLORS; i++)
|
||||
{
|
||||
|
|
@ -21618,7 +21619,7 @@ static int do_color_sel(void)
|
|||
{
|
||||
/* Hovering over the colors! */
|
||||
|
||||
do_setcursor(cursor_hand);
|
||||
do_setcursor(cursor_pipette);
|
||||
|
||||
|
||||
/* Show a big solid example of the color: */
|
||||
|
|
@ -22055,7 +22056,7 @@ static int do_color_picker(void)
|
|||
{
|
||||
/* Hovering over the colors! */
|
||||
|
||||
do_setcursor(cursor_hand);
|
||||
do_setcursor(cursor_pipette);
|
||||
|
||||
|
||||
/* Show a big solid example of the color: */
|
||||
|
|
@ -25434,6 +25435,8 @@ static void setup(void)
|
|||
|
||||
cursor_hand = get_cursor(hand_bits, hand_mask_bits, hand_width, hand_height, 12 / scale, 1 / scale);
|
||||
|
||||
cursor_pipette = get_cursor(pipette_bits, pipette_mask_bits, pipette_width, pipette_height, 2 / scale, 20 / scale);
|
||||
|
||||
cursor_wand = get_cursor(wand_bits, wand_mask_bits, wand_width, wand_height, 4 / scale, 4 / scale);
|
||||
|
||||
cursor_insertion = get_cursor(insertion_bits, insertion_mask_bits,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue