From 37313b49352eafc3bf7aa8a8288a2064b1f896d2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 13 Sep 2007 04:31:40 +0000 Subject: r16564@tres: ted | 2007-09-12 20:45:12 -0700 Final GSoC patch from Chris. I took too long to include it :( (bzr r3740) --- src/extension/internal/bitmap/adaptiveThreshold.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/extension/internal/bitmap/adaptiveThreshold.cpp') diff --git a/src/extension/internal/bitmap/adaptiveThreshold.cpp b/src/extension/internal/bitmap/adaptiveThreshold.cpp index 5a2db5dc0..df1c3ea82 100644 --- a/src/extension/internal/bitmap/adaptiveThreshold.cpp +++ b/src/extension/internal/bitmap/adaptiveThreshold.cpp @@ -25,6 +25,7 @@ void AdaptiveThreshold::refreshParameters(Inkscape::Extension::Effect *module) { _width = module->get_param_int("width"); _height = module->get_param_int("height"); + _offset = module->get_param_int("offset"); } #include "../clear-n_.h" @@ -36,14 +37,15 @@ AdaptiveThreshold::init(void) "\n" "" N_("Adaptive Threshold") "\n" "org.inkscape.effect.bitmap.adaptiveThreshold\n" - "5\n" - "1\n" + "5\n" + "5\n" + "0\n" "\n" "all\n" "\n" "\n" "\n" - "" N_("Apply Adaptive Threshold Effect") "\n" + "" N_("Apply adaptive thresholding to selected bitmap(s).") "\n" "\n" "\n", new AdaptiveThreshold()); } -- cgit v1.2.3