tb->AddTool(ID_SHAPE_POLYGON,_("Polygon"),load_resource_tool_image(_("triangle")),wxNullBitmap,wxITEM_CHECK,_("Polygon"),_("Draw triangles, pentagons and other regular polygons"));
tb->AddTool(ID_SEGMENT_LINE,_("Line"),load_resource_tool_image(_("line")),wxNullBitmap,wxITEM_CHECK,_("To straigt line"),_("Makes the selected line straight"));
tb->AddTool(ID_SEGMENT_CURVE,_("Curve"),load_resource_tool_image(_("curve")),wxNullBitmap,wxITEM_CHECK,_("To curve"),_("Makes the selected line curved"));
tb->AddTool(ID_LOCK_FREE,_("Free"),load_resource_tool_image(_("lock_free")),wxNullBitmap,wxITEM_CHECK,_("Unlock node"),_("Allows the two control points on the node to be moved freely"));
tb->AddTool(ID_LOCK_DIR,_("Smooth"),load_resource_tool_image(_("lock_dir")),wxNullBitmap,wxITEM_CHECK,_("Make node smooth"),_("Makes the selected node smooth by placing the two control points opposite each other"));
tb->AddTool(ID_PART_MERGE,_("Merge"),load_resource_image(_("combine_or")),wxNullBitmap,wxITEM_CHECK,_("Merge with shapes below"),_("Merges this shape with those below it"));
tb->AddTool(ID_PART_SUBTRACT,_("Subtract"),load_resource_image(_("combine_sub_dark")),wxNullBitmap,wxITEM_CHECK,_("Subtract from shapes below"),_("Subtracts this shape from shapes below it, leaves only the area in that shape that is not in this shape"));
tb->AddTool(ID_PART_INTERSECTION,_("Intersect"),load_resource_image(_("combine_and_dark")),wxNullBitmap,wxITEM_CHECK,_("Intersect with shapes below"),_("Intersects this shape with shapes below it, leaves only the area in both shapes"));
tb->AddTool(ID_PART_OVERLAP,_("Overlap"),load_resource_image(_("combine_over")),wxNullBitmap,wxITEM_CHECK,_("Place above other shapes"),_("Place this shape, and its border above shapes below it"));
tb->AddTool(ID_PART_BORDER,_("Border"),load_resource_image(_("combine_border")),wxNullBitmap,wxITEM_CHECK,_("Draw as a border"),_("Draws this shape as a border"));
SetStatusText(String(_("Drag to rotate selected shape"))+(control.selected_parts.size()>1?_("s"):_(""))+_(", Ctrl constrains angle to multiples of 15 degrees"));
SetStatusText(_HELP_1_("drag to rotate",shapes));
control.SetCursor(cursorRotate);
control.SetCursor(cursorRotate);
}
}
}else{
}else{
SetStatusText(String(_("Drag to resize selected shape"))+(control.selected_parts.size()>1?_("s"):_(""))+_(", Ctrl constrains size"));