diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-24 12:16:48 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-25 07:48:24 +0000 |
| commit | 81ffad59670a6d085b0e202bc66f559dc6b79b82 (patch) | |
| tree | 7fa01a7a5af0af4050ead069cc62f5ebd70c73d3 /src | |
| parent | Fix coding style (diff) | |
| download | inkscape-81ffad59670a6d085b0e202bc66f559dc6b79b82.tar.gz inkscape-81ffad59670a6d085b0e202bc66f559dc6b79b82.zip | |
Add minor string tweaks
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-knot.cpp | 6 | ||||
| -rw-r--r-- | src/live_effects/lpe-knot.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 735c5a7a9..928039d0c 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -345,15 +345,15 @@ LPEKnot::LPEKnot(LivePathEffectObject *lpeobject) : Effect(lpeobject) , // initialise your parameters here: - interruption_width(_("_Width:"), _("Size of hidden region of lower string"), "interruption_width", &wr, this, 1) + interruption_width(_("_Gap length:"), _("Size of hidden region of lower string"), "interruption_width", &wr, this, 1) , prop_to_stroke_width(_("_In units of stroke width"), _("Consider 'Width' as a ratio of stroke width"), "prop_to_stroke_width", &wr, this, true) , inverse_width(_("_Inverse"), _("Use other stroke width, useful in groups with diferent stroke width"), "inverse_width", &wr, this, false) , add_stroke_width("St_roke width", "Add the stroke width to the interruption size", "add_stroke_width", &wr, this, - "false", true) + "inkscape_1.0_and_up", true) , add_other_stroke_width("_Crossing path stroke width", "Add crossed stroke width to the interruption size", - "add_other_stroke_width", &wr, this, "false", true) + "add_other_stroke_width", &wr, this, "inkscape_1.0_and_up", true) , switcher_size(_("S_witcher size:"), _("Orientation indicator/switcher size"), "switcher_size", &wr, this, 15) , crossing_points_vector(_("Crossing Signs"), _("Crossings signs"), "crossing_points_vector", &wr, this) , crossing_points() diff --git a/src/live_effects/lpe-knot.h b/src/live_effects/lpe-knot.h index 98c49e4ab..7f547b7c7 100644 --- a/src/live_effects/lpe-knot.h +++ b/src/live_effects/lpe-knot.h @@ -76,7 +76,8 @@ private: ScalarParam interruption_width; BoolParam prop_to_stroke_width; BoolParam inverse_width; - // Legacy ones + // "add_stroke_width" and "add_other_stroke_width" parameters are not used since Inkscape 1.0, + // but changed from bool to hidden parameter to retain backward compatibility and dont show in the UI HiddenParam add_stroke_width; HiddenParam add_other_stroke_width; ScalarParam switcher_size; |
