summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-07-13 17:53:51 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-07-14 18:29:22 +0000
commit6ff4da4367db057c78ee3bce2dc66bb3be99f0a4 (patch)
treea49cff1af8e75cb37a39a73796fc5c1f8e875a5e /src/ui/dialog/inkscape-preferences.cpp
parentPre-Threading comment (diff)
downloadinkscape-6ff4da4367db057c78ee3bce2dc66bb3be99f0a4.tar.gz
inkscape-6ff4da4367db057c78ee3bce2dc66bb3be99f0a4.zip
PoewePencil improvements
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 1da02307b..3119b1b3b 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -227,14 +227,6 @@ void InkscapePreferences::AddBaseSimplifySpinbutton(DialogPage &p, Glib::ustring
false );
}
-void InkscapePreferences::AddPencilPowerStrokePressureStep(DialogPage &p, Glib::ustring const &prefs_path, gint def_value)
-{
- PrefSpinButton* sb = Gtk::manage( new PrefSpinButton);
- sb->init ( prefs_path + "/ps-step-pressure", 1, 100, 1, 10, def_value, true, false);
- p.add_line( false, _("Pressure change for new knot:"), *sb, _("%"),
- _("Percentage increase / decrease of stylus pressure that is required to create a new PowerStroke knot."),
- false );
-}
static void StyleFromSelectionToTool(Glib::ustring const &prefs_path, StyleSwatch *swatch)
{
@@ -454,9 +446,6 @@ void InkscapePreferences::initPageTools()
this->AddNewObjectsStyle(_page_pencil, "/tools/freehand/pencil");
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->AddPencilPowerStrokePressureStep(_page_pencil, "/tools/freehand/pencil", 5);
-
_page_pencil.add_group_header( _("Sketch mode"));
_page_pencil.add_line( true, "", _pencil_average_all_sketches, "",
_("If on, the sketch result will be the normal average of all sketches made, instead of averaging the old result with the new sketch"));