[gegl] ops: make pixelize and gaussian-blur specify ui-ranges



commit b1c6f84d7f0a719186868cf45eca6955528fb3f5
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Fri Mar 30 17:28:55 2012 +0100

    ops: make pixelize and gaussian-blur specify ui-ranges

 operations/common/gaussian-blur.c |    4 ++--
 operations/common/pixelise.c      |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/common/gaussian-blur.c b/operations/common/gaussian-blur.c
index f46b4b2..004ec76 100644
--- a/operations/common/gaussian-blur.c
+++ b/operations/common/gaussian-blur.c
@@ -27,9 +27,9 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_double (std_dev_x, _("Size X"), 0.0, 200.0, 4.0,
+gegl_chant_double_ui (std_dev_x, _("Size X"), 0.0, 10000.0, 4.0, 0.0, 1000.0, 1.0,
    _("Standard deviation for the horizontal axis. (multiply by ~2 to get radius)"))
-gegl_chant_double (std_dev_y, _("Size Y"), 0.0, 200.0, 4.0,
+gegl_chant_double_ui (std_dev_y, _("Size Y"), 0.0, 10000.0, 4.0, 0.0, 1000.0, 1.0,
    _("Standard deviation for the vertical axis. (multiply by ~2 to get radius.)"))
 gegl_chant_string (filter, _("Filter"), "auto",
    _("Optional parameter to override the automatic selection of blur filter. "
diff --git a/operations/common/pixelise.c b/operations/common/pixelise.c
index 89167b2..e6076dc 100644
--- a/operations/common/pixelise.c
+++ b/operations/common/pixelise.c
@@ -22,9 +22,9 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_int (size_x, _("Block Width"), 1, 256, 8,
+gegl_chant_int_ui (size_x, _("Block Width"),  1, 123456, 16, 1, 2048,
    _("Width of blocks in pixels"))
-gegl_chant_int (size_y, _("Block Height"), 1, 256, 8,
+gegl_chant_int_ui (size_y, _("Block Height"), 1, 123456, 16, 1, 2048,
    _("Height of blocks in pixels"))
 
 #else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]