summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-10-08 17:36:10 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-10-08 17:36:10 +0000
commit50cdd9a57552c4c19955cf1881b0b23afe312afc (patch)
treed42ac469ad3da5003718969c6160247e2acd05bc /src/live_effects/effect.cpp
parentMove imported files to position of mouse pointer when dropped (diff)
downloadinkscape-50cdd9a57552c4c19955cf1881b0b23afe312afc.tar.gz
inkscape-50cdd9a57552c4c19955cf1881b0b23afe312afc.zip
Move LPE's into 3 groups normal, experimental y testing. Testing is only usable by setting up a flag. Must set off for release. I think also for LPETool
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp120
1 files changed, 60 insertions, 60 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 3cc6f247a..fe1cebedb 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -676,21 +676,6 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, false //on_text
, false //experimental
},
-#ifdef LPE_ENABLE_TEST_EFFECTS
- {
- DOEFFECTSTACK_TEST
- , N_("doEffect stack test") //label
- , "doeffectstacktest" //key
- , "experimental" //icon
- , "doEffect stack test" //untranslated name
- , N_("Test LPE") //description
- , true //on_path
- , true //on_shape
- , true //on_group
- , false //on_image
- , false //on_text
- , true //experimental
- },
{
ANGLE_BISECTOR
, N_("Angle bisector") //label
@@ -734,12 +719,12 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- DYNASTROKE
- , N_("Dynamic stroke") //label
- , "dynastroke" //key
+ EXTRUDE
+ , N_("Extrude") //label
+ , "extrude" //key
, "experimental" //icon
- , "Dynamic stroke" //untranslated name
- , N_("Create calligraphic strokes with variably shaped ends, making use of a parameter for the brush angle") //description
+ , "Extrude" //untranslated name
+ , N_("Extrude the path, creating a face for each path segment") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -748,12 +733,12 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- EXTRUDE
- , N_("Extrude") //label
- , "extrude" //key
+ LINE_SEGMENT
+ , N_("Line Segment") //label
+ , "line_segment" //key
, "experimental" //icon
- , "Extrude" //untranslated name
- , N_("Extrude the path, creating a face for each path segment") //description
+ , "Line Segment" //untranslated name
+ , N_("Draw a straight line that connects the first and last node of a path") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -762,12 +747,12 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- LATTICE
- , N_("Lattice Deformation") //label
- , "lattice" //key
+ PARALLEL
+ , N_("Parallel") //label
+ , "parallel" //key
, "experimental" //icon
- , "Lattice Deformation" //untranslated name
- , N_("Deform an object using a 4x4 grid") //description
+ , "Parallel" //untranslated name
+ , N_("Create a draggable line that will always be parallel to a two-node path") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -776,12 +761,12 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- LINE_SEGMENT
- , N_("Line Segment") //label
- , "line_segment" //key
+ PERP_BISECTOR
+ , N_("Perpendicular bisector") //label
+ , "perp_bisector" //key
, "experimental" //icon
- , "Line Segment" //untranslated name
- , N_("Draw a straight line that connects the first and last node of a path") //description
+ , "Perpendicular bisector" //untranslated name
+ , N_("Draw a perpendicular line in the middle of the (imaginary) line that connects the start and end nodes") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -790,12 +775,12 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- PARALLEL
- , N_("Parallel") //label
- , "parallel" //key
+ TANGENT_TO_CURVE
+ , N_("Tangent to curve") //label
+ , "tangent_to_curve" //key
, "experimental" //icon
- , "Parallel" //untranslated name
- , N_("Create a draggable line that will always be parallel to a two-node path") //description
+ , "Tangent to curve" //untranslated name
+ , N_("Draw a tangent with variable length and additional angle that can be moved along the path") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -803,13 +788,14 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, false //on_text
, true //experimental
},
+#ifdef LPE_ENABLE_TEST_EFFECTS
{
- PATH_LENGTH
- , N_("Path length") //label
- , "path_length" //key
+ DOEFFECTSTACK_TEST
+ , N_("doEffect stack test") //label
+ , "doeffectstacktest" //key
, "experimental" //icon
- , "Path length" //untranslated name
- , N_("Display the total length of a (curved) path") //description
+ , "doEffect stack test" //untranslated name
+ , N_("Test LPE") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -818,12 +804,12 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- PERP_BISECTOR
- , N_("Perpendicular bisector") //label
- , "perp_bisector" //key
+ DYNASTROKE
+ , N_("Dynamic stroke") //label
+ , "dynastroke" //key
, "experimental" //icon
- , "Perpendicular bisector" //untranslated name
- , N_("Draw a perpendicular line in the middle of the (imaginary) line that connects the start and end nodes") //description
+ , "Dynamic stroke" //untranslated name
+ , N_("Create calligraphic strokes with variably shaped ends, making use of a parameter for the brush angle") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -832,12 +818,12 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- RECURSIVE_SKELETON
- , N_("Recursive skeleton") //label
- , "recursive_skeleton" //key
+ LATTICE
+ , N_("Lattice Deformation") //label
+ , "lattice" //key
, "experimental" //icon
- , "Recursive skeleton" //untranslated name
- , N_("Draw a path recursively") //description
+ , "Lattice Deformation" //untranslated name
+ , N_("Deform an object using a 4x4 grid") //description
, true //on_path
, true //on_shape
, true //on_group
@@ -846,12 +832,26 @@ const EnumEffectData<EffectType> LPETypeData[] = {
, true //experimental
},
{
- TANGENT_TO_CURVE
- , N_("Tangent to curve") //label
- , "tangent_to_curve" //key
+ PATH_LENGTH
+ , N_("Path length") //label
+ , "path_length" //key
, "experimental" //icon
- , "Tangent to curve" //untranslated name
- , N_("Draw a tangent with variable length and additional angle that can be moved along the path") //description
+ , "Path length" //untranslated name
+ , N_("Display the total length of a (curved) path") //description
+ , true //on_path
+ , true //on_shape
+ , true //on_group
+ , false //on_image
+ , false //on_text
+ , true //experimental
+ },
+ {
+ RECURSIVE_SKELETON
+ , N_("Recursive skeleton") //label
+ , "recursive_skeleton" //key
+ , "experimental" //icon
+ , "Recursive skeleton" //untranslated name
+ , N_("Draw a path recursively") //description
, true //on_path
, true //on_shape
, true //on_group