summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a3bd4f)
raw | patch | inline | side by side (parent: 9a3bd4f)
author | nicholasbishop <nicholasbishop@users.sourceforge.net> | |
Tue, 14 Aug 2007 07:02:21 +0000 (07:02 +0000) | ||
committer | nicholasbishop <nicholasbishop@users.sourceforge.net> | |
Tue, 14 Aug 2007 07:02:21 +0000 (07:02 +0000) |
* Added filter dialog controls for feFlood
src/ui/dialog/filter-effects-dialog.cpp | patch | blob | history |
index b220b37bd154180ba2568235280a89aedab1c755..315b73d99420742ab14544e8013d76113bf39168 100644 (file)
_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_FLOOD);
+ _settings->add_color(SP_PROP_FLOOD_COLOR, _("Flood Color"));
+ _settings->add_spinslider(SP_PROP_FLOOD_OPACITY, _("Opacity"), 0, 1, 0.1, 0.01, 2);
_settings->type(NR_FILTER_GAUSSIANBLUR);
_settings->add_dualspinslider(SP_ATTR_STDDEVIATION, _("Standard Deviation"), 0.01, 100, 1, 0.01, 1);