summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-08-06 00:58:34 +0000
committernicholasbishop <nicholasbishop@users.sourceforge.net>2007-08-06 00:58:34 +0000
commit95b4378ef6313dea5ba5c144337d7c80e8daca6a (patch)
tree8b909ccbe7d28a4a5ae1965b3b476df0d27d942a /src/ui
parentAdded my name to AUTHORS list (diff)
downloadinkscape-95b4378ef6313dea5ba5c144337d7c80e8daca6a.tar.gz
inkscape-95b4378ef6313dea5ba5c144337d7c80e8daca6a.zip
Filter effects dialog:
* Added controls for scale and channel selection to the filter dialog for feDisplacementMap (bzr r3383)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index 3c306d382..edcb1e9ca 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -1678,6 +1678,11 @@ void FilterEffectsDialog::init_settings_widgets()
_settings->add_spinslider(SP_ATTR_DIFFUSECONSTANT, _("Constant"), 0, 100, 1, 0.01, 1);
_settings->add_dualspinslider(SP_ATTR_KERNELUNITLENGTH, _("Kernel Unit Length"), 0.01, 10, 1, 0.01, 1);
_settings->add_lightsource(_("Light Source"));
+
+ _settings->type(NR_FILTER_DISPLACEMENTMAP);
+ _settings->add_spinslider(SP_ATTR_SCALE, _("Scale"), 0, 100, 1, 0.01, 1);
+ _settings->add_combo(SP_ATTR_XCHANNELSELECTOR, _("X Channel"), DisplacementMapChannelConverter);
+ _settings->add_combo(SP_ATTR_YCHANNELSELECTOR, _("Y Channel"), DisplacementMapChannelConverter);
_settings->type(NR_FILTER_GAUSSIANBLUR);
_settings->add_dualspinslider(SP_ATTR_STDDEVIATION, _("Standard Deviation"), 0.01, 100, 1, 0.01, 1);