summaryrefslogtreecommitdiffstats
path: root/src/sp-mesh-array.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-11-16 15:22:39 +0000
committertavmjong-free <tavmjong@free.fr>2016-11-16 15:22:39 +0000
commit09d3ef953448a73c20dc1a70c2f96e0ac5019f45 (patch)
treee5a4580d6dda384e4c8e3e04e7dd8a46a30d576d /src/sp-mesh-array.h
parentImplement tweaking of mesh handle colors. (diff)
downloadinkscape-09d3ef953448a73c20dc1a70c2f96e0ac5019f45.tar.gz
inkscape-09d3ef953448a73c20dc1a70c2f96e0ac5019f45.zip
Split selected rows/columns in half using Insert key.
(bzr r15251)
Diffstat (limited to 'src/sp-mesh-array.h')
-rw-r--r--src/sp-mesh-array.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-mesh-array.h b/src/sp-mesh-array.h
index ee9243753..df43638db 100644
--- a/src/sp-mesh-array.h
+++ b/src/sp-mesh-array.h
@@ -76,7 +76,8 @@ enum MeshCornerOperation {
MG_CORNER_SIDE_ARC,
MG_CORNER_TENSOR_TOGGLE,
MG_CORNER_COLOR_SMOOTH,
- MG_CORNER_COLOR_PICK
+ MG_CORNER_COLOR_PICK,
+ MG_CORNER_INSERT
};
enum MeshNodeOperation {
@@ -192,6 +193,7 @@ public:
unsigned int tensor_toggle( std::vector< unsigned int > );
unsigned int color_smooth( std::vector< unsigned int > );
unsigned int color_pick( std::vector< unsigned int >, SPItem* );
+ unsigned int insert( std::vector< unsigned int > );
// Update other nodes in response to a node move.
void update_handles( unsigned int corner, std::vector< unsigned int > selected_corners, Geom::Point old_p, MeshNodeOperation op );