From 5bb6744d7d5cb86d62e3d032a7022055f64f879c Mon Sep 17 00:00:00 2001 From: nicholasbishop Date: Tue, 14 Aug 2007 07:02:21 +0000 Subject: [PATCH] Filter effects dialog: * Added filter dialog controls for feFlood --- src/ui/dialog/filter-effects-dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index b220b37bd..315b73d99 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -1804,6 +1804,10 @@ void FilterEffectsDialog::init_settings_widgets() _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); -- 2.30.2