diff --git a/src/global.h b/src/global.h index 91d910bd..630b078c 100644 --- a/src/global.h +++ b/src/global.h @@ -883,10 +883,10 @@ GFX2_GLOBAL T_Brush_template Brush_container[BRUSH_CONTAINER_COLUMNS*BRUSH_CONTA CURSOR_SHAPE_TARGET , // Centered lines CURSOR_SHAPE_XOR_TARGET , // Empty rectangle CURSOR_SHAPE_XOR_TARGET , // Filled rectangle - CURSOR_SHAPE_TARGET , // Empty circle - CURSOR_SHAPE_TARGET , // Filled circle - CURSOR_SHAPE_TARGET , // Empty ellipse - CURSOR_SHAPE_TARGET , // Filled ellipse + CURSOR_SHAPE_XOR_TARGET , // Empty circle + CURSOR_SHAPE_XOR_TARGET , // Filled circle + CURSOR_SHAPE_XOR_TARGET , // Empty ellipse + CURSOR_SHAPE_XOR_TARGET , // Filled ellipse CURSOR_SHAPE_TARGET , // Fill CURSOR_SHAPE_TARGET , // Color replacer CURSOR_SHAPE_XOR_TARGET , // Rectangular brush grabbing @@ -901,8 +901,8 @@ GFX2_GLOBAL T_Brush_template Brush_container[BRUSH_CONTAINER_COLUMNS*BRUSH_CONTA CURSOR_SHAPE_TARGET , // Filled polygon CURSOR_SHAPE_TARGET , // Filled polyform CURSOR_SHAPE_MULTIDIRECTIONAL , // Scroll (pan) - CURSOR_SHAPE_TARGET , // Gradient-filled circle - CURSOR_SHAPE_TARGET , // Gradient-filled ellipse + CURSOR_SHAPE_XOR_TARGET , // Gradient-filled circle + CURSOR_SHAPE_XOR_TARGET , // Gradient-filled ellipse CURSOR_SHAPE_XOR_ROTATION , // Rotate brush CURSOR_SHAPE_XOR_TARGET , // Stretch brush CURSOR_SHAPE_TARGET , // Distort brush diff --git a/src/operatio.c b/src/operatio.c index 741f72f3..a67ef5cf 100644 --- a/src/operatio.c +++ b/src/operatio.c @@ -1005,6 +1005,7 @@ void Circle_12_5(void) if ( (tangent_x!=Paintbrush_X) || (tangent_y!=Paintbrush_Y) ) { Hide_cursor(); + Cursor_shape=CURSOR_SHAPE_TARGET; if ((Config.Coords_rel) && (Menu_is_visible)) { Num2str(Distance(center_x,center_y,Paintbrush_X,Paintbrush_Y),str,4); @@ -1178,10 +1179,12 @@ void Ellipse_12_5(void) Operation_pop(¢er_y); Operation_pop(¢er_x); Operation_pop(&color); + if ( (tangent_x!=Paintbrush_X) || (tangent_y!=Paintbrush_Y) ) { Hide_cursor(); + Cursor_shape=CURSOR_SHAPE_TARGET; Display_coords_rel_or_abs(center_x,center_y); horizontal_radius=(tangent_x>center_x)?tangent_x-center_x @@ -2982,9 +2985,11 @@ void Grad_circle_12_6(void) Operation_pop(¢er_x); Operation_pop(&color); + if ( (tangent_x!=Paintbrush_X) || (tangent_y!=Paintbrush_Y) ) { Hide_cursor(); + Cursor_shape=CURSOR_SHAPE_TARGET; if ((Config.Coords_rel) && (Menu_is_visible)) { Num2str(Distance(center_x,center_y,Paintbrush_X,Paintbrush_Y),str,4); @@ -3244,6 +3249,7 @@ void Grad_ellipse_12_6(void) if ( (tangent_x!=Paintbrush_X) || (tangent_y!=Paintbrush_Y) ) { Hide_cursor(); + Cursor_shape=CURSOR_SHAPE_TARGET; Display_coords_rel_or_abs(center_x,center_y); horizontal_radius=(tangent_x>center_x)?tangent_x-center_x