Add missing cursors for operations
Some new operations were added in f2d579695cf78bf3e538383bd5843347be0c6acf, but the corresponding cursor settings were not added to the CURSOR_FOR_OPERATION table. This resulted in wrong cursors for the brush grab operation and probably several more operations. This commit adds the missing cursor settings. This fixes issue #75
This commit is contained in:
parent
30be9d975e
commit
efe9f8406f
18
src/global.h
18
src/global.h
@ -695,10 +695,14 @@ GFX2_GLOBAL T_Brush_template Brush_container[BRUSH_CONTAINER_COLUMNS*BRUSH_CONTA
|
|||||||
CURSOR_SHAPE_TARGET , // Centered lines
|
CURSOR_SHAPE_TARGET , // Centered lines
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Empty rectangle
|
CURSOR_SHAPE_XOR_TARGET , // Empty rectangle
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Filled rectangle
|
CURSOR_SHAPE_XOR_TARGET , // Filled rectangle
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Empty circle
|
CURSOR_SHAPE_XOR_TARGET , // Empty circle (center radius)
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Filled circle
|
CURSOR_SHAPE_XOR_TARGET , // Empty circle (corners)
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Empty ellipse
|
CURSOR_SHAPE_XOR_TARGET , // Empty ellipse (center radius)
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Filled ellipse
|
CURSOR_SHAPE_XOR_TARGET , // Empty ellipse (corners)
|
||||||
|
CURSOR_SHAPE_XOR_TARGET , // Filled circle (center radius)
|
||||||
|
CURSOR_SHAPE_XOR_TARGET , // Filled circle (corners)
|
||||||
|
CURSOR_SHAPE_XOR_TARGET , // Filled ellipse (center radius)
|
||||||
|
CURSOR_SHAPE_XOR_TARGET , // Filled ellipse (corners)
|
||||||
CURSOR_SHAPE_BUCKET , // Fill
|
CURSOR_SHAPE_BUCKET , // Fill
|
||||||
CURSOR_SHAPE_BUCKET , // Color replacer
|
CURSOR_SHAPE_BUCKET , // Color replacer
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Rectangular brush grabbing
|
CURSOR_SHAPE_XOR_TARGET , // Rectangular brush grabbing
|
||||||
@ -713,8 +717,10 @@ GFX2_GLOBAL T_Brush_template Brush_container[BRUSH_CONTAINER_COLUMNS*BRUSH_CONTA
|
|||||||
CURSOR_SHAPE_TARGET , // Filled polygon
|
CURSOR_SHAPE_TARGET , // Filled polygon
|
||||||
CURSOR_SHAPE_TARGET , // Filled polyform
|
CURSOR_SHAPE_TARGET , // Filled polyform
|
||||||
CURSOR_SHAPE_MULTIDIRECTIONAL , // Scroll image
|
CURSOR_SHAPE_MULTIDIRECTIONAL , // Scroll image
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Gradient-filled circle
|
CURSOR_SHAPE_XOR_TARGET , // Gradient-filled circle (center radius)
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Gradient-filled ellipse
|
CURSOR_SHAPE_XOR_TARGET , // Gradient-filled circle (corners)
|
||||||
|
CURSOR_SHAPE_XOR_TARGET , // Gradient-filled ellipse (center radius)
|
||||||
|
CURSOR_SHAPE_XOR_TARGET , // Gradient-filled ellipse (corners)
|
||||||
CURSOR_SHAPE_XOR_ROTATION , // Rotate brush
|
CURSOR_SHAPE_XOR_ROTATION , // Rotate brush
|
||||||
CURSOR_SHAPE_XOR_TARGET , // Stretch brush
|
CURSOR_SHAPE_XOR_TARGET , // Stretch brush
|
||||||
CURSOR_SHAPE_TARGET , // Distort brush
|
CURSOR_SHAPE_TARGET , // Distort brush
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user