summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-11-19 22:54:21 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-11-19 22:54:21 +0000
commitd91112f7116f50489bd93047f6e7bc0985512c68 (patch)
tree29919bec74826788890efdeabea204255a683c4d /src/ui/dialog/inkscape-preferences.cpp
parentWorking on fix smooth draw (diff)
downloadinkscape-d91112f7116f50489bd93047f6e7bc0985512c68.tar.gz
inkscape-d91112f7116f50489bd93047f6e7bc0985512c68.zip
Working on coontinuing paths
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 93168a727..ef69fdade 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -204,22 +204,12 @@ void InkscapePreferences::AddBaseSimplifySpinbutton(DialogPage &p, Glib::ustring
false );
}
-
-void InkscapePreferences::AddPowerStrokeKnotDistanceFactor(DialogPage &p, Glib::ustring const &prefs_path, double def_value)
-{
- PrefSpinButton* sb = Gtk::manage( new PrefSpinButton);
- sb->init ( prefs_path + "/knots-distance", 0.1, 9999.0, 1.0, 10.0, def_value, false, false);
- p.add_line( false, _("Minimum knot distance factor:"), *sb, _("on tablet usage"),
- _("This unitless value affects the density of LPE knots. A small value allows you to draw squiggly lines, while a higher value creates smoother lines with less width differences."),
- false );
-}
-
void InkscapePreferences::AddPowerStrokeGapPressureFactor(DialogPage &p, Glib::ustring const &prefs_path, gint def_value)
{
PrefSpinButton* sb = Gtk::manage( new PrefSpinButton);
sb->init ( prefs_path + "/gap-pressure", 1, 100, 1, 10, def_value, true, false);
- p.add_line( false, _("Minimun pressure % diference needed to create knot:"), *sb, _("on tablet usage"),
- _("Minimun percent difference in pressure that is required to create a new PowerStroke knot."),
+ p.add_line( false, _("Pressure diference on knots:"), *sb, _("%"),
+ _("Pressure diference percent that is required to create a new PowerStroke knot."),
false );
}
@@ -442,7 +432,6 @@ void InkscapePreferences::initPageTools()
this->AddDotSizeSpinbutton(_page_pencil, "/tools/freehand/pencil", 3.0);
this->AddBaseSimplifySpinbutton(_page_pencil, "/tools/freehand/pencil", 25.0);
_page_pencil.add_group_header( _("Pressure sensitivity settings"));
- this->AddPowerStrokeKnotDistanceFactor(_page_pencil, "/tools/freehand/pencil", 135.0);
this->AddPowerStrokeGapPressureFactor(_page_pencil, "/tools/freehand/pencil", 10);
_page_pencil.add_group_header( _("Sketch mode"));