Commit fd6d42bb authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

set a different help message in polygonal mode. Fixes bug #172051.

2005-03-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpvectortool.c (gimp_vector_tool_status_update):
	set a different help message in polygonal mode. Fixes bug #172051.
parent f95993b9
2005-03-30 Sven Neumann <sven@gimp.org>
* app/tools/gimpvectortool.c (gimp_vector_tool_status_update):
set a different help message in polygonal mode. Fixes bug #172051.
2005-03-30 Sven Neumann <sven@gimp.org>
* app/widgets/gimpclipboard.c: when GIMP exits and a clipboard
......
......@@ -308,7 +308,7 @@ gimp_vector_tool_button_press (GimpTool *tool,
vector_tool->undo_motion = FALSE;
/* Save the current modifier state */
/* save the current modifier state */
vector_tool->saved_state = state;
......@@ -400,7 +400,7 @@ gimp_vector_tool_button_press (GimpTool *tool,
}
/* Insertion of an anchor in a curve segment */
/* insertion of an anchor in a curve segment */
if (vector_tool->function == VECTORS_INSERT_ANCHOR)
{
......@@ -1217,8 +1217,11 @@ gimp_vector_tool_status_update (GimpTool *tool,
new_status = _("Click-Drag to move the handle around. (try SHIFT)");
break;
case VECTORS_MOVE_CURVE:
new_status = _("Click-Drag to change the shape of the curve. "
"(SHIFT: symmetrical)");
if (GIMP_VECTOR_OPTIONS (tool->tool_info->tool_options)->polygonal)
new_status = _("Click-Drag to move the anchors around.");
else
new_status = _("Click-Drag to change the shape of the curve. "
"(SHIFT: symmetrical)");
break;
case VECTORS_MOVE_STROKE:
new_status = _("Click-Drag to move the component around. "
......@@ -1299,24 +1302,29 @@ gimp_vector_tool_cursor_update (GimpTool *tool,
cursor = GDK_HAND2;
tool_cursor = GIMP_TOOL_CURSOR_HAND;
break;
case VECTORS_CREATE_VECTOR:
case VECTORS_CREATE_STROKE:
cmodifier = GIMP_CURSOR_MODIFIER_CONTROL;
break;
case VECTORS_ADD_ANCHOR:
case VECTORS_INSERT_ANCHOR:
cmodifier = GIMP_CURSOR_MODIFIER_PLUS;
break;
case VECTORS_DELETE_ANCHOR:
case VECTORS_DELETE_SEGMENT:
cmodifier = GIMP_CURSOR_MODIFIER_MINUS;
break;
case VECTORS_MOVE_HANDLE:
case VECTORS_CONVERT_EDGE:
cursor = GDK_HAND2;
tool_cursor = GIMP_TOOL_CURSOR_HAND;
cmodifier = GIMP_CURSOR_MODIFIER_CONTROL;
break;
case VECTORS_MOVE_ANCHOR:
case VECTORS_MOVE_CURVE:
case VECTORS_MOVE_STROKE:
......@@ -1324,9 +1332,11 @@ gimp_vector_tool_cursor_update (GimpTool *tool,
case VECTORS_MOVE_ANCHORSET:
cmodifier = GIMP_CURSOR_MODIFIER_MOVE;
break;
case VECTORS_CONNECT_STROKES:
cmodifier = GIMP_CURSOR_MODIFIER_INTERSECT;
break;
default:
cursor = GIMP_CURSOR_BAD;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment