[gegl] make the label argument mandatory, and not based on key/value
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] make the label argument mandatory, and not based on key/value
- Date: Sat, 17 May 2014 15:39:49 +0000 (UTC)
commit 2cf371c26e3ed659e4f2ea38c15ebc7b041bc77e
Author: Øyvind Kolås <pippin gimp org>
Date: Sat May 17 17:00:50 2014 +0200
make the label argument mandatory, and not based on key/value
Not having it, leads to untranslated strings in the UI; it means
gegl_property_double (foo, NULL) no longer is sufficient when prototyping an
op.
gegl/gegl-op.h | 238 +++++++++++++++---------------
gegl/property-types/gegl-paramspecs.c | 134 +++++++----------
gegl/property-types/gegl-paramspecs.h | 40 ++++--
operations/common/brightness-contrast.c | 4 +-
operations/common/checkerboard.c | 14 +-
operations/common/color.c | 4 +-
operations/common/emboss.c | 9 +-
operations/common/fractal-explorer.c | 40 +++---
operations/common/gaussian-blur.c | 8 +-
operations/common/grid.c | 14 +-
operations/common/layer.c | 12 +-
operations/common/mosaic.c | 30 ++--
operations/common/motion-blur-circular.c | 6 +-
operations/common/motion-blur-zoom.c | 6 +-
operations/common/noise-cie-lch.c | 10 +-
operations/common/noise-hsv.c | 10 +-
operations/common/noise-hurl.c | 6 +-
operations/common/noise-pick.c | 6 +-
operations/common/noise-reduction.c | 2 +-
operations/common/noise-rgb.c | 14 +-
operations/common/noise-slur.c | 6 +-
operations/common/noise-spread.c | 6 +-
operations/common/oilify.c | 8 +-
operations/common/opacity.c | 2 +-
operations/common/open-buffer.c | 2 +-
operations/common/panorama-projection.c | 22 ++-
operations/common/photocopy.c | 8 +-
operations/common/pixelize.c | 14 +-
operations/common/plasma.c | 14 +-
operations/common/polar-coordinates.c | 16 +-
operations/common/posterize.c | 2 +-
operations/common/raw-load.c | 2 +-
operations/common/rectangle.c | 10 +-
operations/common/red-eye-removal.c | 2 +-
operations/common/reinhard05.c | 6 +-
operations/common/ripple.c | 18 +-
operations/common/save.c | 2 +-
operations/common/shift.c | 8 +-
operations/common/snn-mean.c | 4 +-
operations/common/softglow.c | 6 +-
operations/common/stress.c | 6 +-
operations/common/stretch-contrast.c | 2 +-
operations/common/svg-huerotate.c | 2 +-
operations/common/svg-matrix.c | 2 +-
operations/common/svg-saturate.c | 2 +-
operations/common/texturize-canvas.c | 6 +-
operations/common/threshold.c | 2 +-
operations/common/tile-glass.c | 4 +-
operations/common/tile.c | 4 +-
operations/common/unsharp-mask.c | 4 +-
operations/common/vignette.c | 22 ++--
operations/common/waves.c | 18 +-
operations/common/whirl-pinch.c | 6 +-
operations/common/wind.c | 6 +-
operations/common/write-buffer.c | 2 +-
55 files changed, 422 insertions(+), 431 deletions(-)
---
diff --git a/gegl/gegl-op.h b/gegl/gegl-op.h
index 1a89bd8..fa68351 100644
--- a/gegl/gegl-op.h
+++ b/gegl/gegl-op.h
@@ -229,19 +229,19 @@ gegl_module_register (GTypeModule *module)
#endif
/* enum registration */
-#define gegl_property_double(name, ...)
-#define gegl_property_string(name, ...)
-#define gegl_property_file_path(name, ...)
-#define gegl_property_int(name, ...)
-#define gegl_property_boolean(name, ...)
-#define gegl_property_enum(name, enum, enum_name, ...)
-#define gegl_property_object(name, ...)
-#define gegl_property_pointer(name, ...)
-#define gegl_property_format(name, ...)
-#define gegl_property_color(name, ...)
-#define gegl_property_curve(name, ...)
-#define gegl_property_seed(name, rand_name, ...)
-#define gegl_property_path(name, ...)
+#define gegl_property_double(name, label, ...)
+#define gegl_property_string(name, label, ...)
+#define gegl_property_file_path(name, label, ...)
+#define gegl_property_int(name, label, ...)
+#define gegl_property_boolean(name, label, ...)
+#define gegl_property_enum(name, label, enum, enum_name, ...)
+#define gegl_property_object(name, label, ...)
+#define gegl_property_pointer(name, label, ...)
+#define gegl_property_format(name, label, ...)
+#define gegl_property_color(name, label, ...)
+#define gegl_property_curve(name, label, ...)
+#define gegl_property_seed(name, label, rand_name, ...)
+#define gegl_property_path(name, label, ...)
#define gegl_enum_start(enum_name) typedef enum {
#define gegl_enum_value(value, nick) value ,
@@ -299,20 +299,20 @@ GType enum_name ## _get_type (void) \
struct _GeglProperties
{
gpointer user_data; /* for use by the op implementation */
-#define gegl_property_double(name, ...) gdouble name;
-#define gegl_property_boolean(name, ...) gboolean name;
-#define gegl_property_int(name, ...) gint name;
-#define gegl_property_string(name, ...) gchar *name;
-#define gegl_property_file_path(name, ...) gchar *name;
-#define gegl_property_enum(name, enum, enum_name, ...) enum name;
-#define gegl_property_object(name, ...) GObject *name;
-#define gegl_property_pointer(name, ...) gpointer name;
-#define gegl_property_format(name, ...) gpointer name;
-#define gegl_property_color(name, ...) GeglColor *name;
-#define gegl_property_curve(name, ...) GeglCurve *name;
-#define gegl_property_seed(name, rand_name, ...) gint name;\
+#define gegl_property_double(name, label, ...) gdouble name;
+#define gegl_property_boolean(name, label, ...) gboolean name;
+#define gegl_property_int(name, label, ...) gint name;
+#define gegl_property_string(name, label, ...) gchar *name;
+#define gegl_property_file_path(name, label, ...) gchar *name;
+#define gegl_property_enum(name, label, enum, enum_name, ...) enum name;
+#define gegl_property_object(name, label, ...) GObject *name;
+#define gegl_property_pointer(name, label, ...) gpointer name;
+#define gegl_property_format(name, label, ...) gpointer name;
+#define gegl_property_color(name, label, ...) GeglColor *name;
+#define gegl_property_curve(name, label, ...) GeglCurve *name;
+#define gegl_property_seed(name, label, rand_name, ...)gint name;\
GeglRandom *rand_name;
-#define gegl_property_path(name, ...) GeglPath *name;\
+#define gegl_property_path(name, label, ...) GeglPath *name;\
gulong path_changed_handler;
#include GEGL_OP_C_FILE
@@ -338,19 +338,19 @@ enum
{
PROP_0,
-#define gegl_property_double(name, ...) PROP_##name,
-#define gegl_property_boolean(name, ...) PROP_##name,
-#define gegl_property_int(name, ...) PROP_##name,
-#define gegl_property_string(name, ...) PROP_##name,
-#define gegl_property_file_path(name, ...) PROP_##name,
-#define gegl_property_enum(name, enum, enum_name, ...) PROP_##name,
-#define gegl_property_object(name, ...) PROP_##name,
-#define gegl_property_pointer(name, ...) PROP_##name,
-#define gegl_property_format(name, ...) PROP_##name,
-#define gegl_property_color(name, ...) PROP_##name,
-#define gegl_property_curve(name, ...) PROP_##name,
-#define gegl_property_seed(name, rand_name, ...) PROP_##name,
-#define gegl_property_path(name, ...) PROP_##name,
+#define gegl_property_double(name, label, ...) PROP_##name,
+#define gegl_property_boolean(name, label, ...) PROP_##name,
+#define gegl_property_int(name, label, ...) PROP_##name,
+#define gegl_property_string(name, label, ...) PROP_##name,
+#define gegl_property_file_path(name, label, ...) PROP_##name,
+#define gegl_property_enum(name, label, enum, enum_name, ...) PROP_##name,
+#define gegl_property_object(name, label, ...) PROP_##name,
+#define gegl_property_pointer(name, label, ...) PROP_##name,
+#define gegl_property_format(name, label, ...) PROP_##name,
+#define gegl_property_color(name, label, ...) PROP_##name,
+#define gegl_property_curve(name, label, ...) PROP_##name,
+#define gegl_property_seed(name, label, rand_name, ...) PROP_##name,
+#define gegl_property_path(name, label, ...) PROP_##name,
#include GEGL_OP_C_FILE
@@ -382,55 +382,55 @@ get_property (GObject *gobject,
switch (property_id)
{
-#define gegl_property_double(name,...) \
+#define gegl_property_double(name, label,...) \
case PROP_##name: \
g_value_set_double (value, properties->name); \
break;
-#define gegl_property_boolean(name,...) \
+#define gegl_property_boolean(name, label,...) \
case PROP_##name: \
g_value_set_boolean (value, properties->name); \
break;
-#define gegl_property_int(name,...) \
+#define gegl_property_int(name, label,...) \
case PROP_##name: \
g_value_set_int (value, properties->name); \
break;
-#define gegl_property_string(name, ...) \
+#define gegl_property_string(name, label, ...) \
case PROP_##name: \
g_value_set_string (value, properties->name); \
break;
-#define gegl_property_file_path(name, ...) \
+#define gegl_property_file_path(name, label, ...) \
case PROP_##name: \
- g_value_set_string (value, properties->name); \
+ g_value_set_string (value, properties->name); \
break;
-#define gegl_property_enum(name, enum, enum_name, ...) \
+#define gegl_property_enum(name, label, enum, enum_name, ...) \
case PROP_##name: \
g_value_set_enum (value, properties->name); \
break;
-#define gegl_property_object(name, ...) \
+#define gegl_property_object(name, label, ...) \
case PROP_##name: \
g_value_set_object (value, properties->name); \
break;
-#define gegl_property_pointer(name, ...) \
+#define gegl_property_pointer(name, label, ...) \
case PROP_##name: \
g_value_set_pointer (value, properties->name); \
break;
-#define gegl_property_format(name, ...) \
+#define gegl_property_format(name, label, ...) \
case PROP_##name: \
g_value_set_pointer (value, properties->name); \
break;
-#define gegl_property_color(name, ...) \
+#define gegl_property_color(name, label, ...) \
case PROP_##name: \
g_value_set_object (value, properties->name); \
break;
-#define gegl_property_curve(name, ...) \
+#define gegl_property_curve(name, label, ...) \
case PROP_##name: \
g_value_set_object (value, properties->name); \
break;
-#define gegl_property_seed(name, rand_name, ...) \
+#define gegl_property_seed(name, label, rand_name, ...) \
case PROP_##name: \
g_value_set_int (value, properties->name); \
break;
-#define gegl_property_path(name, ...) \
+#define gegl_property_path(name, label, ...) \
case PROP_##name: \
g_value_set_object (value, properties->name); \
break;
@@ -469,61 +469,61 @@ set_property (GObject *gobject,
switch (property_id)
{
-#define gegl_property_double(name, ...) \
+#define gegl_property_double(name, label, ...) \
case PROP_##name: \
properties->name = g_value_get_double (value); \
break;
-#define gegl_property_boolean(name, ...) \
+#define gegl_property_boolean(name, label, ...) \
case PROP_##name: \
properties->name = g_value_get_boolean (value); \
break;
-#define gegl_property_int(name, ...) \
+#define gegl_property_int(name, label, ...) \
case PROP_##name: \
properties->name = g_value_get_int (value); \
break;
-#define gegl_property_string(name, ...) \
+#define gegl_property_string(name, label, ...) \
case PROP_##name: \
if (properties->name) \
g_free (properties->name); \
properties->name = g_value_dup_string (value); \
break;
-#define gegl_property_file_path(name, ...) \
+#define gegl_property_file_path(name, label, ...) \
case PROP_##name: \
if (properties->name) \
g_free (properties->name); \
properties->name = g_value_dup_string (value); \
break;
-#define gegl_property_enum(name, enum, enum_name, ...) \
+#define gegl_property_enum(name, label, enum, enum_name, ...) \
case PROP_##name: \
properties->name = g_value_get_enum (value); \
break;
-#define gegl_property_object(name, ...) \
+#define gegl_property_object(name, label, ...) \
case PROP_##name: \
if (properties->name != NULL) \
g_object_unref (properties->name); \
properties->name = g_value_dup_object (value); \
break;
-#define gegl_property_pointer(name, ...) \
+#define gegl_property_pointer(name, label, ...) \
case PROP_##name: \
properties->name = g_value_get_pointer (value); \
break;
-#define gegl_property_format(name, ...) \
+#define gegl_property_format(name, label, ...) \
case PROP_##name: \
properties->name = g_value_get_pointer (value); \
break;
-#define gegl_property_color(name, ...) \
+#define gegl_property_color(name, label, ...) \
case PROP_##name: \
if (properties->name != NULL) \
g_object_unref (properties->name); \
properties->name = g_value_dup_object (value); \
break;
-#define gegl_property_curve(name, ...) \
+#define gegl_property_curve(name, label, ...) \
case PROP_##name: \
if (properties->name != NULL) \
g_object_unref (properties->name); \
properties->name = g_value_dup_object (value); \
break;
-#define gegl_property_seed(name, rand_name, ...) \
+#define gegl_property_seed(name, label, rand_name, ...) \
case PROP_##name: \
properties->name = g_value_get_int (value); \
if (!properties->rand_name) \
@@ -531,7 +531,7 @@ set_property (GObject *gobject,
else \
gegl_random_set_seed (properties->rand_name, properties->name);\
break;
-#define gegl_property_path(name, ...) \
+#define gegl_property_path(name, label, ...) \
case PROP_##name: \
if (properties->name != NULL) \
{ \
@@ -578,49 +578,49 @@ static void gegl_op_destroy_notify (gpointer data)
{
GeglProperties *properties = GEGL_PROPERTIES (data);
-#define gegl_property_double(name, ...)
-#define gegl_property_boolean(name, ...)
-#define gegl_property_int(name, ...)
-#define gegl_property_string(name, ...) \
+#define gegl_property_double(name, label, ...)
+#define gegl_property_boolean(name, label, ...)
+#define gegl_property_int(name, label, ...)
+#define gegl_property_string(name, label, ...) \
if (properties->name) \
{ \
g_free (properties->name); \
properties->name = NULL; \
}
-#define gegl_property_file_path(name, ...) \
+#define gegl_property_file_path(name, label, ...) \
if (properties->name) \
{ \
g_free (properties->name); \
properties->name = NULL; \
}
-#define gegl_property_enum(name, enum, enum_name, ...)
-#define gegl_property_object(name, ...) \
+#define gegl_property_enum(name, label, enum, enum_name, ...)
+#define gegl_property_object(name, label, ...) \
if (properties->name) \
{ \
g_object_unref (properties->name); \
properties->name = NULL; \
}
-#define gegl_property_pointer(name, ...)
-#define gegl_property_format(name, ...)
-#define gegl_property_color(name, ...) \
+#define gegl_property_pointer(name, label, ...)
+#define gegl_property_format(name, label, ...)
+#define gegl_property_color(name, label, ...) \
if (properties->name) \
{ \
g_object_unref (properties->name); \
properties->name = NULL; \
}
-#define gegl_property_curve(name, ...) \
+#define gegl_property_curve(name, label, ...) \
if (properties->name) \
{ \
g_object_unref (properties->name); \
properties->name = NULL; \
}
-#define gegl_property_seed(name, rand_name, ...) \
+#define gegl_property_seed(name, label, rand_name, ...) \
if (properties->rand_name) \
{ \
gegl_random_free (properties->rand_name); \
properties->rand_name = NULL; \
}
-#define gegl_property_path(name, ...) \
+#define gegl_property_path(name, label, ...) \
if (properties->name) \
{ \
g_object_unref (properties->name); \
@@ -660,23 +660,23 @@ gegl_op_constructor (GType type,
/* create dummy colors and vectors */
properties = GEGL_PROPERTIES (obj);
-#define gegl_property_double(name, ...)
-#define gegl_property_boolean(name, ...)
-#define gegl_property_int(name, ...)
-#define gegl_property_string(name, ...)
-#define gegl_property_file_path(name, ...)
-#define gegl_property_enum(name, enum, enum_name, ...)
-#define gegl_property_object(name, ...)
-#define gegl_property_pointer(name, ...)
-#define gegl_property_format(name, ...)
-#define gegl_property_color(name, ...) \
+#define gegl_property_double(name, label, ...)
+#define gegl_property_boolean(name, label, ...)
+#define gegl_property_int(name, label, ...)
+#define gegl_property_string(name, label, ...)
+#define gegl_property_file_path(name, label, ...)
+#define gegl_property_enum(name, label, enum, enum_name, ...)
+#define gegl_property_object(name, label, ...)
+#define gegl_property_pointer(name, label, ...)
+#define gegl_property_format(name, label, ...)
+#define gegl_property_color(name, label, ...) \
if (properties->name == NULL) \
{const char *def = gegl_operation_class_get_property_key (g_type_class_peek (type), #name,
"default");properties->name = gegl_color_new(def?def:"black");}
-#define gegl_property_seed(name, rand_name, ...) \
+#define gegl_property_seed(name, label, rand_name, ...) \
if (properties->rand_name == NULL) \
{properties->rand_name = gegl_random_new_with_seed (0);}
-#define gegl_property_path(name, ...)
-#define gegl_property_curve(name, ...)
+#define gegl_property_path(name, label, ...)
+#define gegl_property_curve(name, label, ...)
#include GEGL_OP_C_FILE
@@ -708,46 +708,46 @@ gegl_op_class_intern_init (gpointer klass)
object_class->get_property = get_property;
object_class->constructor = gegl_op_constructor;
-#define gegl_property_double(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_double_from_vararg (#name, foo); \
+#define gegl_property_double(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_double_from_vararg (#name, label, foo);\
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_boolean(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_boolean_from_vararg (#name, foo); \
+#define gegl_property_boolean(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_boolean_from_vararg(#name, label, foo);\
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_int(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_int_from_vararg (#name, foo); \
+#define gegl_property_int(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_int_from_vararg (#name, label, foo); \
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_string(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_string_from_vararg (#name, foo); \
+#define gegl_property_string(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_string_from_vararg (#name, label, foo);\
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_file_path(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_file_path_from_vararg (#name, foo); \
+#define gegl_property_file_path(name, label, foo...) \
+ { GParamSpec *pspec =gegl_param_spec_file_path_from_vararg(#name,label, foo);\
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_enum(name, enum, enum_name, foo... ) \
- { GParamSpec *pspec = gegl_param_spec_enum_from_vararg (#name, \
- enum_name ## _get_type (), foo); \
+#define gegl_property_enum(name, label, enum, enum_name, foo... ) \
+ { GParamSpec *pspec = gegl_param_spec_enum_from_vararg (#name, label, \
+ enum_name ## _get_type (), foo); \
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_object(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_object_from_vararg (#name, foo); \
+#define gegl_property_object(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_object_from_vararg (#name, label, foo);\
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_pointer(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_pointer_from_vararg (#name, foo); \
+#define gegl_property_pointer(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_pointer_from_vararg(#name, label, foo);\
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_format(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_format_from_vararg (#name, foo); \
+#define gegl_property_format(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_format_from_vararg (#name, label, foo);\
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_seed(name, rand_name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_seed_from_vararg (#name, foo); \
+#define gegl_property_seed(name, label, rand_name, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_seed_from_vararg (#name, label, foo); \
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_color(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_color_from_vararg (#name, foo); \
+#define gegl_property_color(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_color_from_vararg (#name, label, foo); \
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_path(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_path_from_vararg (#name, foo); \
+#define gegl_property_path(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_path_from_vararg (#name, label, foo); \
g_object_class_install_property (object_class, PROP_##name, pspec);};
-#define gegl_property_curve(name, foo...) \
- { GParamSpec *pspec = gegl_param_spec_curve_from_vararg (#name, foo); \
+#define gegl_property_curve(name, label, foo...) \
+ { GParamSpec *pspec = gegl_param_spec_curve_from_vararg (#name, label, foo); \
g_object_class_install_property (object_class, PROP_##name, pspec);};
#include GEGL_OP_C_FILE
diff --git a/gegl/property-types/gegl-paramspecs.c b/gegl/property-types/gegl-paramspecs.c
index 79bb185..ab2d128 100644
--- a/gegl/property-types/gegl-paramspecs.c
+++ b/gegl/property-types/gegl-paramspecs.c
@@ -747,10 +747,11 @@ gegl_param_spec_format (const gchar *name,
}
GParamSpec *
-gegl_param_spec_double_from_vararg (const char *name, ...)
+gegl_param_spec_double_from_vararg (const char *name,
+ const char *nick,
+ ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
gdouble min_value = -G_MAXDOUBLE,
max_value = G_MAXDOUBLE,
default_value = 0.0,
@@ -769,7 +770,7 @@ gegl_param_spec_double_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
@@ -799,8 +800,6 @@ gegl_param_spec_double_from_vararg (const char *name, ...)
default_value = va_arg (var_args, double);
else if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -837,10 +836,10 @@ gegl_param_spec_double_from_vararg (const char *name, ...)
GParamSpec *
-gegl_param_spec_int_from_vararg (const char *name, ...)
+gegl_param_spec_int_from_vararg (const char *name,
+ const char *nick, ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
gint min_value = G_MININT,
max_value = G_MAXINT,
default_value = 0,
@@ -859,7 +858,7 @@ gegl_param_spec_int_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
@@ -889,8 +888,6 @@ gegl_param_spec_int_from_vararg (const char *name, ...)
default_value = va_arg (var_args, gint);
else if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -927,10 +924,10 @@ gegl_param_spec_int_from_vararg (const char *name, ...)
GParamSpec *
-gegl_param_spec_boolean_from_vararg (const char *name, ...)
+gegl_param_spec_boolean_from_vararg (const char *name,
+ const char *nick, ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
gboolean default_value = FALSE;
GParamSpec *pspec;
@@ -940,7 +937,7 @@ gegl_param_spec_boolean_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
@@ -948,8 +945,6 @@ gegl_param_spec_boolean_from_vararg (const char *name, ...)
default_value = va_arg (var_args, gboolean);
else if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -970,10 +965,11 @@ gegl_param_spec_boolean_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_string_from_vararg (const char *name, ...)
+gegl_param_spec_string_from_vararg (const char *name,
+ const char *nick,
+ ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
const gchar *default_value = "";
GParamSpec *pspec;
@@ -983,7 +979,7 @@ gegl_param_spec_string_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
@@ -991,8 +987,6 @@ gegl_param_spec_string_from_vararg (const char *name, ...)
default_value = va_arg (var_args, const gchar *);
else if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1013,10 +1007,10 @@ gegl_param_spec_string_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_file_path_from_vararg (const char *name, ...)
+gegl_param_spec_file_path_from_vararg (const char *name,
+ const char *nick, ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
const gchar *default_value = "";
GParamSpec *pspec;
@@ -1026,7 +1020,7 @@ gegl_param_spec_file_path_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
@@ -1034,8 +1028,6 @@ gegl_param_spec_file_path_from_vararg (const char *name, ...)
default_value = va_arg (var_args, const gchar *);
else if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1057,10 +1049,11 @@ gegl_param_spec_file_path_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_enum_from_vararg (const char *name, GType enum_type, ...)
+gegl_param_spec_enum_from_vararg (const char *name,
+ const char *nick,
+ GType enum_type, ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
int default_value = 0;
GParamSpec *pspec;
@@ -1078,8 +1071,6 @@ gegl_param_spec_enum_from_vararg (const char *name, GType enum_type, ...)
default_value = va_arg (var_args, int);
else if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1102,10 +1093,11 @@ gegl_param_spec_enum_from_vararg (const char *name, GType enum_type, ...)
}
GParamSpec *
-gegl_param_spec_pointer_from_vararg (const char *name, ...)
+gegl_param_spec_pointer_from_vararg (const char *name,
+ const char *nick,
+ ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
GParamSpec *pspec;
GHashTable *ht;
@@ -1114,14 +1106,12 @@ gegl_param_spec_pointer_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1141,10 +1131,9 @@ gegl_param_spec_pointer_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_object_from_vararg (const char *name, ...)
+gegl_param_spec_object_from_vararg (const char *name, const char *nick, ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
GParamSpec *pspec;
GHashTable *ht;
@@ -1153,14 +1142,12 @@ gegl_param_spec_object_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1181,10 +1168,11 @@ gegl_param_spec_object_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_curve_from_vararg (const char *name, ...)
+gegl_param_spec_curve_from_vararg (const char *name,
+ const char *nick,
+ ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
GParamSpec *pspec;
GHashTable *ht;
@@ -1194,14 +1182,12 @@ gegl_param_spec_curve_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1224,10 +1210,11 @@ gegl_param_spec_curve_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_path_from_vararg (const char *name, ...)
+gegl_param_spec_path_from_vararg (const char *name,
+ const char *nick,
+ ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
GParamSpec *pspec;
GHashTable *ht;
@@ -1236,14 +1223,12 @@ gegl_param_spec_path_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1263,10 +1248,10 @@ gegl_param_spec_path_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_format_from_vararg (const char *name, ...)
+gegl_param_spec_format_from_vararg (const char *name,
+ const char *nick, ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
GParamSpec *pspec;
GHashTable *ht;
@@ -1275,14 +1260,12 @@ gegl_param_spec_format_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1302,10 +1285,11 @@ gegl_param_spec_format_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_color_from_vararg (const char *name, ...)
+gegl_param_spec_color_from_vararg (const char *name,
+ const char *nick,
+ ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
const gchar *default_value = "";
GParamSpec *pspec;
@@ -1315,7 +1299,7 @@ gegl_param_spec_color_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
@@ -1325,8 +1309,6 @@ gegl_param_spec_color_from_vararg (const char *name, ...)
}
else if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
@@ -1347,10 +1329,10 @@ gegl_param_spec_color_from_vararg (const char *name, ...)
}
GParamSpec *
-gegl_param_spec_seed_from_vararg (const char *name, ...)
+gegl_param_spec_seed_from_vararg (const char *name,
+ const char *nick, ...)
{
- const gchar *nick = name,
- *blurb = "";
+ const gchar *blurb = "";
GParamSpec *pspec;
GHashTable *ht;
@@ -1359,14 +1341,12 @@ gegl_param_spec_seed_from_vararg (const char *name, ...)
const gchar *key;
ht = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
- va_start (var_args, name);
+ va_start (var_args, nick);
key = va_arg (var_args, const char*);
while (key)
{
if (g_str_equal (key, "blurb"))
blurb = va_arg (var_args, const gchar *);
- else if (g_str_equal (key, "nick"))
- nick = va_arg (var_args, const gchar *);
else
{
const char *value = va_arg (var_args, const gchar*);
diff --git a/gegl/property-types/gegl-paramspecs.h b/gegl/property-types/gegl-paramspecs.h
index 7005bdc..dd2e0e2 100644
--- a/gegl/property-types/gegl-paramspecs.h
+++ b/gegl/property-types/gegl-paramspecs.h
@@ -378,80 +378,94 @@ GParamSpec * gegl_param_spec_format (const gchar *name,
* gegl_param_spec_double_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_double_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_double_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_int_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_int_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_int_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_string_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_string_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_string_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_boolean_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_boolean_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_boolean_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_pointer_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_pointer_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_pointer_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_enum_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_enum_from_vararg (const char *name, GType enum_type, ...)
+GParamSpec * gegl_param_spec_enum_from_vararg (const char *name,
+ const char *nick,
+ GType enum_type, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_color_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_color_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_color_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_seed_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_seed_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_seed_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_object_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_object_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_object_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_format_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_format_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_format_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_curve_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_curve_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_curve_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_path_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_path_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_path_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
/**
* gegl_param_spec_file_path_from_vararg: (skip)
* Returns: (transfer full): a newly created parameter specification
*/
-GParamSpec * gegl_param_spec_file_path_from_vararg (const char *name, ...)
+GParamSpec * gegl_param_spec_file_path_from_vararg (const char *name,
+ const char *nick, ...)
G_GNUC_NULL_TERMINATED;
diff --git a/operations/common/brightness-contrast.c b/operations/common/brightness-contrast.c
index f07d64c..2f54743 100644
--- a/operations/common/brightness-contrast.c
+++ b/operations/common/brightness-contrast.c
@@ -28,13 +28,13 @@
* in the GeglProperties struct used when processing.
*/
-gegl_property_double (contrast, "nick", _("Contrast"),
+gegl_property_double (contrast, _("Contrast"),
"blurb", _("Magnitude of contrast scaling >1.0 brighten < 1.0 darken"),
"default", 1.0, "min", -5.0, "max", 5.0,
"ui-min", 0.0, "ui-max", 2.0, "ui-gamma", 1.0,
NULL)
-gegl_property_double (brightness, "nick", _("Brightness"),
+gegl_property_double (brightness, _("Brightness"),
"blurb", _("Amount to increase brightness"),
"default", 0.0, "min", -3.0, "max", 3.0,
"ui-min", -1.0, "ui-max", 1.0, "ui-gamma", 1.0,
diff --git a/operations/common/checkerboard.c b/operations/common/checkerboard.c
index f82e84b..297f9b2 100644
--- a/operations/common/checkerboard.c
+++ b/operations/common/checkerboard.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (x, "nick", _("Width"),
+gegl_property_int (x, _("Width"),
"blurb", _("Horizontal width of cells pixels"),
"default", 16,
"min", 1,
@@ -31,7 +31,7 @@ gegl_property_int (x, "nick", _("Width"),
"axis", "x",
NULL)
-gegl_property_int (y, "nick", _("Height"),
+gegl_property_int (y, _("Height"),
"blurb", _("Vertical width of cells pixels"),
"default", 16, "min", 1,
"ui-min", 1, "ui-max", 256, "ui-gamma", 1.5,
@@ -39,33 +39,33 @@ gegl_property_int (y, "nick", _("Height"),
"axis", "y",
NULL)
-gegl_property_int (x_offset, "nick", _("X offset"),
+gegl_property_int (x_offset, _("X offset"),
"blurb", _("Horizontal offset (from origin) for start of grid"),
"ui-min", -10, "ui-max", 10,
"unit", "pixel-coordinate",
"axis", "x",
NULL)
-gegl_property_int (y_offset, "nick", _("Y offset"),
+gegl_property_int (y_offset, _("Y offset"),
"blurb", _("Vertical offset (from origin) for start of grid"),
"ui-min", -10, "ui-max", 10,
"unit", "pixel-coordinate",
"axis", "y",
NULL)
-gegl_property_color (color1, "nick", _("Color"),
+gegl_property_color (color1, _("Color"),
"blurb", _("One of the cell colors (defaults to 'black')"),
"default", "black",
"role", "color-primary",
NULL)
-gegl_property_color (color2, "nick", _("Color"),
+gegl_property_color (color2, _("Color"),
"blurb", _("One of the cell colors (defaults to 'white')"),
"default", "white",
"role", "color-secondary",
NULL)
-gegl_property_format (format, "nick", _("Babl Format"),
+gegl_property_format (format, _("Babl Format"),
"blurb", _("The babl format of the output"),
NULL)
diff --git a/operations/common/color.c b/operations/common/color.c
index 8189f14..c90e132 100644
--- a/operations/common/color.c
+++ b/operations/common/color.c
@@ -20,12 +20,12 @@
#include <glib/gi18n-lib.h>
#ifdef GEGL_PROPERTIES
-gegl_property_color (value, "nick", _("Color"),
+gegl_property_color (value, _("Color"),
"blurb", _("The color to render (defaults to 'black')"),
"default", "black",
NULL)
-gegl_property_format (format, "nick", _("Babl Format"),
+gegl_property_format (format, _("Babl Format"),
"blurb", _("The babl format of the output"),
NULL)
#else
diff --git a/operations/common/emboss.c b/operations/common/emboss.c
index 7b8f63c..22db267 100644
--- a/operations/common/emboss.c
+++ b/operations/common/emboss.c
@@ -27,21 +27,20 @@ gegl_enum_start (gegl_emboss_type)
gegl_enum_value (GEGL_EMBOSS_TYPE_BUMPMAP, "Bumpmap (preserve original colors)")
gegl_enum_end (GeglEmbossType)
-gegl_property_enum (type,
+gegl_property_enum (type, _("Emboss Type"),
GeglEmbossType, gegl_emboss_type,
- "nick" , _("Emboss Type"),
"blurb" , _("Rendering type"),
"default", GEGL_EMBOSS_TYPE_EMBOSS,
NULL)
-gegl_property_double (azimuth, "nick", _("Azimuth"),
+gegl_property_double (azimuth, _("Azimuth"),
"blurb", _("Light angle (degrees)"),
"min" , 0.0, "max", 360.0, "default", 30.0,
NULL)
-gegl_property_double (elevation, "nick", _("Elevation"),
+gegl_property_double (elevation, _("Elevation"),
"blurb" , _("Elevation angle (degrees)"),
"default", 45.0, "min", 0.0, "max", 180.0,
NULL)
-gegl_property_int (depth, "nick", _("Depth"),
+gegl_property_int (depth, _("Depth"),
"blurb" , _("Filter width"),
"default", 20, "min", 1, "max", 100,
NULL)
diff --git a/operations/common/fractal-explorer.c b/operations/common/fractal-explorer.c
index 8b91b32..5060f41 100644
--- a/operations/common/fractal-explorer.c
+++ b/operations/common/fractal-explorer.c
@@ -39,46 +39,45 @@ gegl_enum_start (gegl_fractal_explorer_type)
gegl_enum_value (GEGL_FRACTAL_EXPLORER_TYPE_SIERPINSKI, "Sierpinski")
gegl_enum_end (GeglFractalExplorerType)
-gegl_property_enum (fractaltype,
+gegl_property_enum (fractaltype, _("Fractal type"),
GeglFractalExplorerType, gegl_fractal_explorer_type,
- "nick", _("Fractal type"),
"blurb", _("Type of a fractal"),
"default", GEGL_FRACTAL_EXPLORER_TYPE_MANDELBROT,
NULL)
-gegl_property_int (iter, "nick", _("Iterations"),
+gegl_property_int (iter, _("Iterations"),
"blurb", _("Iterations"),
"default", 50, "min", 1, "max", 1000,
NULL)
-gegl_property_double (zoom, "nick", _("Zoom"),
+gegl_property_double (zoom, _("Zoom"),
"blurb", _("Zoom in the fractal space"),
"default", 300.0 , "min" , 0.0000001, "max" , 10000000.0,
"ui-min", 0.0001, "ui-max", 10000.0 , "ui-gamma", 1.5,
NULL)
-gegl_property_double (shiftx, "nick", _("Shift X"),
+gegl_property_double (shiftx, _("Shift X"),
"blurb", _("X shift in the fractal space"),
"ui-min", -1000.0, "ui-max", 1000.0, "ui-gamma", 1.5,
NULL)
-gegl_property_double (shifty, "nick", _("Shift Y"),
+gegl_property_double (shifty, _("Shift Y"),
"blurb", _("Y shift in the fractal space"),
"ui-min", -1000.0, "ui-max", 1000.0, "ui-gamma", 1.5,
NULL)
-gegl_property_double (cx, "nick", _("CX"),
+gegl_property_double (cx, _("CX"),
"blurb", _("CX (No effect in Mandelbrot and Sierpinski)"),
"default", -0.75, "min", -2.5, "max", 2.5,
NULL)
-gegl_property_double (cy, "nick", _("CY"),
+gegl_property_double (cy, _("CY"),
"blurb", _("CY (No effect in Mandelbrot and Sierpinski)"),
"default", 0.2, "min", -2.5, "max", 2.5,
NULL)
-gegl_property_double (redstretch, "nick", _("Red stretch"),
+gegl_property_double (redstretch, _("Red stretch"),
"blurb", _("Red stretching factor"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (greenstretch, "nick", _("Green stretch"),
+gegl_property_double (greenstretch, _("Green stretch"),
"blurb", _("Green stretching factor"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (bluestretch, "nick", _("Blue stretch"),
+gegl_property_double (bluestretch, _("Blue stretch"),
"blurb", _("Green stretching factor"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
@@ -89,37 +88,34 @@ gegl_enum_start (gegl_fractal_explorer_mode)
gegl_enum_value (GEGL_FRACTAL_EXPLORER_MODE_NONE, "None")
gegl_enum_end (GeglFractalExplorerMode)
-gegl_property_enum (redmode,
+gegl_property_enum (redmode, _("Red mode"),
GeglFractalExplorerMode, gegl_fractal_explorer_mode,
- "nick", _("Red mode"),
"blurb", _("Red application mode"),
"default", GEGL_FRACTAL_EXPLORER_MODE_COS,
NULL)
-gegl_property_enum (greenmode,
+gegl_property_enum (greenmode, _("Green mode"),
GeglFractalExplorerMode, gegl_fractal_explorer_mode,
"default", GEGL_FRACTAL_EXPLORER_MODE_COS,
"blurb", _("Green application mode"),
- "nick", _("Green mode"),
NULL)
-gegl_property_enum (bluemode,
+gegl_property_enum (bluemode, _("Blue mode"),
GeglFractalExplorerMode, gegl_fractal_explorer_mode,
- "nick", _("Blue mode"),
"blurb", _("Blue application mode"),
"default", GEGL_FRACTAL_EXPLORER_MODE_SIN,
NULL)
-gegl_property_boolean (redinvert , "nick", _("Red inversion") , NULL)
-gegl_property_boolean (greeninvert, "nick", _("Green inversion"), NULL)
-gegl_property_boolean (blueinvert , "nick", _("Blue inversion") , NULL)
+gegl_property_boolean (redinvert , _("Red inversion") , NULL)
+gegl_property_boolean (greeninvert, _("Green inversion"), NULL)
+gegl_property_boolean (blueinvert , _("Blue inversion") , NULL)
-gegl_property_int (ncolors, "nick", _("Colors"),
+gegl_property_int (ncolors, _("Colors"),
"blurb", _("Number of colors"),
"default", 256, "min", 2, "max", MAXNCOLORS,
NULL)
-gegl_property_boolean (useloglog, "nick", _("Loglog smoothing"), NULL)
+gegl_property_boolean (useloglog, _("Loglog smoothing"), NULL)
#else
diff --git a/operations/common/gaussian-blur.c b/operations/common/gaussian-blur.c
index c9fe8a4..08b764e 100644
--- a/operations/common/gaussian-blur.c
+++ b/operations/common/gaussian-blur.c
@@ -33,7 +33,7 @@ gegl_enum_start (gegl_gaussian_blur_filter)
gegl_enum_value (GEGL_GAUSSIAN_BLUR_FILTER_IIR, "IIR")
gegl_enum_end (GeglGaussianBlurFilter)
-gegl_property_double (std_dev_x, "nick", _("Size X"),
+gegl_property_double (std_dev_x, _("Size X"),
"blurb", _("Standard deviation for the horizontal axis (multiply by ~2 to get radius)"),
"default", 1.5, "min", 0.0, "max", 1500.0,
"ui-min", 0.0, "ui-max", 100.0, "ui-gamma", 3.0,
@@ -41,7 +41,7 @@ gegl_property_double (std_dev_x, "nick", _("Size X"),
"unit", "pixel-coordinate",
NULL)
-gegl_property_double (std_dev_y, "nick", _("Size Y"),
+gegl_property_double (std_dev_y, _("Size Y"),
"blurb", _("Standard deviation for the horizontal axis (multiply by ~2 to get radius)"),
"default", 1.5, "min", 0.0, "max", 1500.0,
"ui-min", 0.0, "ui-max", 100.0, "ui-gamma", 3.0,
@@ -49,8 +49,8 @@ gegl_property_double (std_dev_y, "nick", _("Size Y"),
"unit", "pixel-coordinate",
NULL)
-gegl_property_enum (filter, GeglGaussianBlurFilter, gegl_gaussian_blur_filter,
- "nick", _("Filter"),
+gegl_property_enum (filter, _("Filter"),
+ GeglGaussianBlurFilter, gegl_gaussian_blur_filter,
"default", GEGL_GAUSSIAN_BLUR_FILTER_AUTO,
"blurb", _("Optional parameter to override the automatic selection of blur filter"),
NULL)
diff --git a/operations/common/grid.c b/operations/common/grid.c
index f73653a..f9343b9 100644
--- a/operations/common/grid.c
+++ b/operations/common/grid.c
@@ -21,7 +21,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (x, "nick", _("Width"),
+gegl_property_int (x, _("Width"),
"blurb", _("Horizontal width of cells pixels"),
"default", 32, "min", 1, "max", G_MAXINT,
"ui-min", 1, "ui-max", 128,
@@ -29,7 +29,7 @@ gegl_property_int (x, "nick", _("Width"),
"axis", "x",
NULL)
-gegl_property_int (y, "nick", _("Height"),
+gegl_property_int (y, _("Height"),
"blurb", _("Vertical width of cells pixels"),
"default", 32, "min", 1, "max", G_MAXINT,
"ui-min", 1, "ui-max", 128,
@@ -37,7 +37,7 @@ gegl_property_int (y, "nick", _("Height"),
"axis", "y",
NULL)
-gegl_property_int (x_offset, "nick", _("X offset"),
+gegl_property_int (x_offset, _("X offset"),
"blurb", _("Horizontal offset (from origin) for start of grid"),
"default", 0,
"ui-min", -64, "ui-max", 64,
@@ -45,7 +45,7 @@ gegl_property_int (x_offset, "nick", _("X offset"),
"axis", "x",
NULL)
-gegl_property_int (y_offset, "nick", _("Y offset"),
+gegl_property_int (y_offset, _("Y offset"),
"blurb", _("Vertical offset (from origin) for start of grid"),
"default", 0,
"ui-min", -64, "ui-max", 64,
@@ -53,7 +53,7 @@ gegl_property_int (y_offset, "nick", _("Y offset"),
"axis", "y",
NULL)
-gegl_property_int (line_width, "nick", _("Line width"),
+gegl_property_int (line_width, _("Line width"),
"blurb", _("Width of grid lines in pixels"),
"default", 4, "min", 0,
"ui-min", 0, "ui-max", 16,
@@ -61,7 +61,7 @@ gegl_property_int (line_width, "nick", _("Line width"),
"axis", "x",
NULL)
-gegl_property_int (line_height, "nick", _("Line height"),
+gegl_property_int (line_height, _("Line height"),
"blurb", _("Width of grid lines in pixels"),
"default", 4, "min", 0,
"ui-min", 0, "ui-max", 16,
@@ -69,7 +69,7 @@ gegl_property_int (line_height, "nick", _("Line height"),
"axis", "y",
NULL)
-gegl_property_color (line_color, "nick", _("Color"),
+gegl_property_color (line_color, _("Color"),
"blurb", _("Color of the grid lines"),
"default", "black",
"role", "color-primary",
diff --git a/operations/common/layer.c b/operations/common/layer.c
index 5774de8..c67b44e 100644
--- a/operations/common/layer.c
+++ b/operations/common/layer.c
@@ -27,33 +27,33 @@
#ifdef GEGL_PROPERTIES
-gegl_property_string(composite_op, "nick", _("Operation"),
+gegl_property_string(composite_op, _("Operation"),
"blurb", _("Composite operation to use"),
"default", "gegl:over",
NULL)
-gegl_property_double(opacity, "nick", _("Opacity"),
+gegl_property_double(opacity, _("Opacity"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double(x, "nick", _("X"),
+gegl_property_double(x, _("X"),
"blurb", _("Horizontal position in pixels"),
"axis", "x",
"unit", "pixel-coordinate",
NULL)
-gegl_property_double(y, "nick", _("Y"),
+gegl_property_double(y, _("Y"),
"blurb", _("Vertical position in pixels"),
"axis", "y",
"unit", "pixel-coordinate",
NULL)
-gegl_property_double(scale, "nick", _("Scale"),
+gegl_property_double(scale, _("Scale"),
"blurb", _("Scale 1:1 size"),
"default", 1.0,
NULL)
-gegl_property_file_path(src, "nick", _("Source"),
+gegl_property_file_path(src, _("Source"),
"blurb", _("Source image file path (png, jpg, raw, svg, bmp, tif, ...)"),
"default", "",
NULL)
diff --git a/operations/common/mosaic.c b/operations/common/mosaic.c
index 78c0b1f..dcb290b 100644
--- a/operations/common/mosaic.c
+++ b/operations/common/mosaic.c
@@ -35,13 +35,13 @@ gegl_enum_start (gegl_mosaic_tile)
gegl_enum_value (GEGL_MOSAIC_TILE_TRIANGLES, "TRIANGLES")
gegl_enum_end (GeglMosaicTile)
-gegl_property_enum (tile_type, GeglMosaicTile, gegl_mosaic_tile,
- "nick", _("Tile geometry"),
+gegl_property_enum (tile_type, _("Tile geometry"),
+ GeglMosaicTile, gegl_mosaic_tile,
"blurb", _("What shape to use for tiles"),
"default", GEGL_MOSAIC_TILE_HEXAGONS,
NULL)
-gegl_property_double (tile_size, "nick", _("Tile size"),
+gegl_property_double (tile_size, _("Tile size"),
"blurb", _("Average diameter of each tile (in pixels)"),
"default", 15.0, "min", 1.0, "max", 1000.0,
"ui-min", 5.0, "ui-max", 400.0,
@@ -49,7 +49,7 @@ gegl_property_double (tile_size, "nick", _("Tile size"),
"axis", "x",
NULL)
-gegl_property_double (tile_height, "nick", _("Tile height"),
+gegl_property_double (tile_height, _("Tile height"),
"blurb", _("Apparent height of each tile (in pixels)"),
"default", 4.0,
"min", 1.0, "max", 1000.0,
@@ -58,56 +58,56 @@ gegl_property_double (tile_height, "nick", _("Tile height"),
"axis", "y",
NULL)
-gegl_property_double (tile_neatness, "nick", _("Tile neatness"),
+gegl_property_double (tile_neatness, _("Tile neatness"),
"blurb", _("Deviation from perfectly formed tiles"),
"default", 0.65, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (color_variation, "nick", _("Tile color variation"),
+gegl_property_double (color_variation, _("Tile color variation"),
"blurb", _("Magnitude of random color variations"),
"default", 0.2, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_boolean (color_averaging, "nick", _("Color averaging"),
+gegl_property_boolean (color_averaging, _("Color averaging"),
"blurb", _("Tile color based on average of subsumed pixels"),
"default", TRUE,
NULL)
-gegl_property_boolean (tile_surface, "nick", _("Rough tile surface"),
+gegl_property_boolean (tile_surface, _("Rough tile surface"),
"blurb", _("Surface characteristics"), NULL)
-gegl_property_boolean (tile_allow_split, "nick", _("Allow splitting tiles"),
+gegl_property_boolean (tile_allow_split, _("Allow splitting tiles"),
"blurb", _("Allows splitting tiles at hard edges"),
"default", TRUE,
NULL)
-gegl_property_double (tile_spacing, "nick", _("Tile spacing"),
+gegl_property_double (tile_spacing, _("Tile spacing"),
"blurb", _("Inter-tile spacing (in pixels)"),
"default", 1.0, "min", 0.0, "max", 1000.0,
"ui-min", 0.5, "ui-max", 30.0,
"unit", "pixel-distance",
NULL)
-gegl_property_color (joints_color, "nick", _("Joints color"),
+gegl_property_color (joints_color, _("Joints color"),
"default", "black",
NULL)
-gegl_property_color (light_color, "nick", _("Light color"),
+gegl_property_color (light_color, _("Light color"),
"default", "white",
NULL)
-gegl_property_double (light_dir, "nick", _("Light direction"),
+gegl_property_double (light_dir, _("Light direction"),
"blurb", _("Direction of light-source (in degrees)"),
"default", 135.0, "min", 0.0, "max", 360.0,
"unit", "degree",
NULL)
-gegl_property_boolean (antialiasing, "nick", _("Antialiasing"),
+gegl_property_boolean (antialiasing, _("Antialiasing"),
"blurb", _("Enables smoother tile output"),
"default", TRUE,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/motion-blur-circular.c b/operations/common/motion-blur-circular.c
index 31434d3..48b3058 100644
--- a/operations/common/motion-blur-circular.c
+++ b/operations/common/motion-blur-circular.c
@@ -38,14 +38,14 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (center_x, "nick", _("Center X"),
+gegl_property_double (center_x, _("Center X"),
"default", 20.0,
"ui-min", -100000.0, "ui-max", 100000.0,
"axis", "x",
"unit", "pixel-coordinate",
NULL)
-gegl_property_double (center_y, "nick", _("Center Y"),
+gegl_property_double (center_y, _("Center Y"),
"default", 20.0,
"ui-min", -100000.0, "ui-max", 100000.0,
"axis", "y",
@@ -53,7 +53,7 @@ gegl_property_double (center_y, "nick", _("Center Y"),
NULL)
/* FIXME: With a large angle, we lose AreaFilter's flavours */
-gegl_property_double (angle, "nick", _("Angle"),
+gegl_property_double (angle, _("Angle"),
"blurb", _("Rotation blur angle. A large angle may take some time to render"),
"default", 5.0, "min", 0.0, "max", 360.0,
"ui-min", 0.0, "ui-max", 90.0, "ui-gamma", 2.0,
diff --git a/operations/common/motion-blur-zoom.c b/operations/common/motion-blur-zoom.c
index c7b4fca..3447f9a 100644
--- a/operations/common/motion-blur-zoom.c
+++ b/operations/common/motion-blur-zoom.c
@@ -37,7 +37,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (center_x, "nick", _("X center"),
+gegl_property_double (center_x, _("X center"),
"blurb", _("Horizontal center position"),
"default", 20.0,
"ui-min", -100000.0, "ui-max", 100000.0,
@@ -45,7 +45,7 @@ gegl_property_double (center_x, "nick", _("X center"),
"axis", "x",
NULL)
-gegl_property_double (center_y, "nick", _("Y center"),
+gegl_property_double (center_y, _("Y center"),
"blurb", _("Vertical center position"),
"default", 20.0,
"ui-min", -100000.0, "ui-max", 100000.0,
@@ -53,7 +53,7 @@ gegl_property_double (center_y, "nick", _("Y center"),
"axis", "x",
NULL)
-gegl_property_double (factor, "nick", _("Factor"),
+gegl_property_double (factor, _("Factor"),
"blurb", _("Bluring factor"),
"default", 0.1, "min", -10.0, "max", 1.0,
"ui-min", -0.5, "ui-max", 1.0, "ui-gamma", 2.0,
diff --git a/operations/common/noise-cie-lch.c b/operations/common/noise-cie-lch.c
index 1178d7a..6c06df1 100644
--- a/operations/common/noise-cie-lch.c
+++ b/operations/common/noise-cie-lch.c
@@ -22,22 +22,22 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (holdness, "nick", _("Holdness"),
+gegl_property_int (holdness, _("Holdness"),
"default", 2, "min", 1, "max", 8,
NULL)
-gegl_property_double (lightness_distance, "nick", _("Lightness"),
+gegl_property_double (lightness_distance, _("Lightness"),
"default", 40.0, "min", 0.0, "max", 100.0,
NULL)
-gegl_property_double (chroma_distance, "nick", _("Chroma"),
+gegl_property_double (chroma_distance, _("Chroma"),
"default", 40.0, "min", 0.0, "max", 100.0,
NULL)
-gegl_property_double (hue_distance, "nick", _("Hue"),
+gegl_property_double (hue_distance, _("Hue"),
"default", 3.0, "min", 0.0, "max", 180.0,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/noise-hsv.c b/operations/common/noise-hsv.c
index f00d632..1e30738 100644
--- a/operations/common/noise-hsv.c
+++ b/operations/common/noise-hsv.c
@@ -24,23 +24,23 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (holdness, "nick", _("Holdness"),
+gegl_property_int (holdness, _("Holdness"),
"default", 2, "min", 1, "max", 8,
NULL)
-gegl_property_double (hue_distance, "nick", _("Hue"),
+gegl_property_double (hue_distance, _("Hue"),
"default", 3.0, "min", 0.0, "max", 180.0,
NULL)
-gegl_property_double (saturation_distance, "nick", _("Saturation"),
+gegl_property_double (saturation_distance, _("Saturation"),
"default", 0.04, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (value_distance, "nick", _("Value"),
+gegl_property_double (value_distance, _("Value"),
"default", 0.04, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/noise-hurl.c b/operations/common/noise-hurl.c
index 6a4babb..8ead326 100644
--- a/operations/common/noise-hurl.c
+++ b/operations/common/noise-hurl.c
@@ -28,15 +28,15 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (pct_random, "nick", _("Randomization (%)"),
+gegl_property_double (pct_random, _("Randomization (%)"),
"default", 50.0, "min", 0.0, "max", 100.0,
NULL)
-gegl_property_int (repeat, "nick", _("Repeat"),
+gegl_property_int (repeat, _("Repeat"),
"default", 1, "min", 1, "max", 100,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/noise-pick.c b/operations/common/noise-pick.c
index dcc93dc..6c4105c 100644
--- a/operations/common/noise-pick.c
+++ b/operations/common/noise-pick.c
@@ -29,15 +29,15 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (pct_random, "nick", _("Randomization (%)"),
+gegl_property_double (pct_random, _("Randomization (%)"),
"default", 50.0, "min", 0.0, "max", 100.0,
NULL)
-gegl_property_int (repeat, "nick", _("Repeat"),
+gegl_property_int (repeat, _("Repeat"),
"default", 1, "min", 1, "max", 100,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/noise-reduction.c b/operations/common/noise-reduction.c
index 1320a7e..b7efe28 100644
--- a/operations/common/noise-reduction.c
+++ b/operations/common/noise-reduction.c
@@ -23,7 +23,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (iterations, "nick", _("Strength"),
+gegl_property_int (iterations, _("Strength"),
"blurb", _("Controls the number of iterations; lower values give better results."),
"default", 4, "min", 1, "max", 32,
"ui-min", 1, "ui-max", 8,
diff --git a/operations/common/noise-rgb.c b/operations/common/noise-rgb.c
index 1e454a5..5802b9c 100644
--- a/operations/common/noise-rgb.c
+++ b/operations/common/noise-rgb.c
@@ -25,24 +25,24 @@
#ifdef GEGL_PROPERTIES
-gegl_property_boolean (correlated, "nick", _("Correlated noise"), NULL)
+gegl_property_boolean (correlated, _("Correlated noise"), NULL)
-gegl_property_boolean (independent, "nick", _("Independent RGB"),
+gegl_property_boolean (independent, _("Independent RGB"),
"default", TRUE, NULL)
-gegl_property_double (red, "nick", _("Red"),
+gegl_property_double (red, _("Red"),
"default", 0.20, "min", 0.0, "max", 1.0, NULL)
-gegl_property_double (green, "nick", _("Green"),
+gegl_property_double (green, _("Green"),
"default", 0.20, "min", 0.0, "max", 1.0, NULL)
-gegl_property_double (blue, "nick", _("Blue"),
+gegl_property_double (blue, _("Blue"),
"default", 0.20, "min", 0.0, "max", 1.0, NULL)
-gegl_property_double (alpha, "nick", _("Alpha"),
+gegl_property_double (alpha, _("Alpha"),
"default", 0.00, "min", 0.0, "max", 1.0, NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/noise-slur.c b/operations/common/noise-slur.c
index 2e30229..3b84e4f 100644
--- a/operations/common/noise-slur.c
+++ b/operations/common/noise-slur.c
@@ -31,15 +31,15 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (pct_random, "nick", _("Randomization (%)"),
+gegl_property_double (pct_random, _("Randomization (%)"),
"default", 50.0, "min", 0.0, "max", 100.0,
NULL)
-gegl_property_int (repeat, "nick", _("Repeat"),
+gegl_property_int (repeat, _("Repeat"),
"default", 1, "min", 1, "max", 100,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/noise-spread.c b/operations/common/noise-spread.c
index 01f0099..2d9a225 100644
--- a/operations/common/noise-spread.c
+++ b/operations/common/noise-spread.c
@@ -26,21 +26,21 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (amount_x, "nick", _("Horizontal"),
+gegl_property_int (amount_x, _("Horizontal"),
"blurb", _("Horizontal spread amount"),
"default", 5, "min", 0, "max", 256,
"unit", "pixel-distance",
"axis", "x",
NULL)
-gegl_property_int (amount_y, "nick", _("Vertical"),
+gegl_property_int (amount_y, _("Vertical"),
"blurb", _("Vertical spread amount"),
"default", 5, "min", 0, "max", 256,
"unit", "pixel-distance",
"axis", "y",
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/oilify.c b/operations/common/oilify.c
index 177adbd..4219994 100644
--- a/operations/common/oilify.c
+++ b/operations/common/oilify.c
@@ -24,22 +24,22 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (mask_radius, "nick", _("Mask Radius"),
+gegl_property_int (mask_radius, _("Mask Radius"),
"blurb", _("Radius of circle around pixel"),
"default", 4, "min", 1, "max", 25,
"unit", "pixel-distance",
NULL)
-gegl_property_int (exponent, "nick", _("Exponent"),
+gegl_property_int (exponent, _("Exponent"),
"default", 8, "min", 1, "max", 20,
NULL)
-gegl_property_int (intensities, "nick", _("Number of intensities"),
+gegl_property_int (intensities, _("Number of intensities"),
"blurb", _("Histogram size"),
"default", 128, "min", 8, "max", 256,
NULL)
-gegl_property_boolean (use_inten, "nick", _("Intensity Mode"),
+gegl_property_boolean (use_inten, _("Intensity Mode"),
"blurb", _("Use pixel luminance values"),
"default", TRUE,
NULL)
diff --git a/operations/common/opacity.c b/operations/common/opacity.c
index e53c928..f2e21dc 100644
--- a/operations/common/opacity.c
+++ b/operations/common/opacity.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (value, "nick", _("Opacity"),
+gegl_property_double (value, _("Opacity"),
"blurb", _("Global opacity value that is always used on top of the optional auxiliary input buffer."),
"default", 1.0, "min", -10.0, "max", 10.0,
"ui-min", 0.0, "ui-max", 1.0, NULL)
diff --git a/operations/common/open-buffer.c b/operations/common/open-buffer.c
index 37ce2f5..0089824 100644
--- a/operations/common/open-buffer.c
+++ b/operations/common/open-buffer.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_string(path, "nick", _("File"),
+gegl_property_string(path, _("File"),
"blurb", _("a GeglBuffer on disk to open"),
NULL)
diff --git a/operations/common/panorama-projection.c b/operations/common/panorama-projection.c
index 4e5ada4..06b5f70 100644
--- a/operations/common/panorama-projection.c
+++ b/operations/common/panorama-projection.c
@@ -20,52 +20,56 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (pan, "nick", _("Pan"),
+gegl_property_double (pan, _("Pan"),
"blurb", _("Horizontal camera panning"),
"min", -180.0, "max", 360.0,
"unit", "degree",
NULL)
-gegl_property_double (tilt, "nick", _("Tilt"),
+gegl_property_double (tilt, _("Tilt"),
"blurb", _("Vertical angle"),
"min", -180.0, "max", 180.0,
"unit", "degree",
NULL)
-gegl_property_double (spin, "nick", _("Spin"),
+gegl_property_double (spin, _("Spin"),
"blurb", _("Spin angle around camera axis"),
"min", -360.0, "max", 360.0,
NULL)
-gegl_property_double (zoom, "nick", _("Zoom"),
+gegl_property_double (zoom, _("Zoom"),
"blurb", _("Zoom level"),
"default", 100.0, "min", 0.01, "max", 1000.0,
NULL)
-gegl_property_int (width, "nick", _("Width"),
+gegl_property_int (width, _("Width"),
"blurb", _("output/rendering width in pixels, -1 for input width"),
"default", -1, "min", -1, "max", 10000,
"role", "output-extent",
"axis", "x",
NULL)
-gegl_property_int (height, "nick", _("Height"),
+gegl_property_int (height, _("Height"),
"blurb", _("output/rendering height in pixels, -1 for input height"),
"default", -1, "min", -1, "max", 10000,
"role", "output-extent",
"axis", "y",
NULL)
-gegl_property_boolean (little_planet, "nick", _("Little planet"),
+gegl_property_boolean (little_planet, _("Little planet"),
"blurb", _("use the pan/tilt location as center for a stereographic/little planet projection."),
NULL)
-gegl_property_enum (sampler_type, GeglSamplerType, gegl_sampler_type,
- "nick", _("Resampling method"),
+gegl_property_enum (sampler_type, _("Resampling method"),
+ GeglSamplerType, gegl_sampler_type,
"blurb", _("Image resampling method to use"),
"default", GEGL_SAMPLER_NEAREST,
NULL)
+gegl_property_boolean (inverse, _("Inverse"),
+ "blurb", _("do an inverse projection"),
+ NULL)
+
#else
#define GEGL_OP_FILTER
diff --git a/operations/common/photocopy.c b/operations/common/photocopy.c
index d84224a..e80aa94 100644
--- a/operations/common/photocopy.c
+++ b/operations/common/photocopy.c
@@ -22,19 +22,19 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (mask_radius, "nick", _("Mask Radius"),
+gegl_property_double (mask_radius, _("Mask Radius"),
"default", 10.0, "min", 0.0, "max", 50.0,
NULL)
-gegl_property_double (sharpness, "nick", _("Sharpness"),
+gegl_property_double (sharpness, _("Sharpness"),
"default", 0.5, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (black, "nick", _("Percent Black"),
+gegl_property_double (black, _("Percent Black"),
"default", 0.2, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (white, "nick", _("Percent White"),
+gegl_property_double (white, _("Percent White"),
"default", 0.2, "min", 0.0, "max", 1.0,
NULL)
diff --git a/operations/common/pixelize.c b/operations/common/pixelize.c
index 72977e8..9ed6495 100644
--- a/operations/common/pixelize.c
+++ b/operations/common/pixelize.c
@@ -29,13 +29,13 @@ gegl_enum_start (gegl_pixelize_norm)
gegl_enum_value (GEGL_PIXELIZE_NORM_INFINITY, "Square")
gegl_enum_end (GeglPixelizeNorm)
-gegl_property_enum (norm, GeglPixelizeNorm, gegl_pixelize_norm,
- "nick", _("Shape"),
+gegl_property_enum (norm, _("Shape"),
+ GeglPixelizeNorm, gegl_pixelize_norm,
"blurb", _("The shape of pixels"),
"default", GEGL_PIXELIZE_NORM_INFINITY,
NULL)
-gegl_property_int (size_x, "nick", _("Block width"),
+gegl_property_int (size_x, _("Block width"),
"blurb", _("Width of blocks in pixels"),
"min", 1, "default", 16,
"ui-min", 1, "ui-max", 2048, "ui-gamma", 1.5,
@@ -43,7 +43,7 @@ gegl_property_int (size_x, "nick", _("Block width"),
"axis", "x",
NULL)
-gegl_property_int (size_y, "nick", _("Block height"),
+gegl_property_int (size_y, _("Block height"),
"blurb", _("Width of blocks in pixels"),
"min", 1, "default", 16,
"ui-min", 1, "ui-max", 2048, "ui-gamma", 1.5,
@@ -51,17 +51,17 @@ gegl_property_int (size_y, "nick", _("Block height"),
"axis", "y",
NULL)
-gegl_property_double (ratio_x, "nick", _("X size ratio"),
+gegl_property_double (ratio_x, _("X size ratio"),
"blurb", _("Horizontal size ratio of a pixel inside each block"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (ratio_y, "nick", _("Y size ratio"),
+gegl_property_double (ratio_y, _("Y size ratio"),
"blurb", _("Vertical size ratio of a pixel inside each block"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_color (background, "nick", _("Background color"),
+gegl_property_color (background, _("Background color"),
"blurb", _("Color used to fill the background"),
"default", "white",
"role", "color-secondary",
diff --git a/operations/common/plasma.c b/operations/common/plasma.c
index 133f8f8..e022b7d 100644
--- a/operations/common/plasma.c
+++ b/operations/common/plasma.c
@@ -33,12 +33,12 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (turbulence, "nick", _("Turbulence"),
+gegl_property_double (turbulence, _("Turbulence"),
"blurb", _("High values give more variation in details"),
"default", 1.0, "min", 0.0, "max", 7.0,
NULL)
-gegl_property_int (x, "nick", _("X"),
+gegl_property_int (x, _("X"),
"blurb", _("X start of the generated buffer"),
"ui-min", -4096, "ui-max", 4096,
"unit", "pixel-coordinate",
@@ -46,7 +46,7 @@ gegl_property_int (x, "nick", _("X"),
"role", "output-extent",
NULL)
-gegl_property_int (y, "nick", _("Y"),
+gegl_property_int (y, _("Y"),
"blurb", _("Y start of the generated buffer"),
"ui-min", -4096, "ui-max", 4096,
"unit", "pixel-coordinate",
@@ -54,7 +54,7 @@ gegl_property_int (y, "nick", _("Y"),
"role", "output-extent",
NULL)
-gegl_property_int (width, "nick", _("Width"),
+gegl_property_int (width, _("Width"),
"blurb", _("Width of the generated buffer"),
"default", 1024, "min", 0,
"ui-min", 0, "ui-max", 4096,
@@ -63,7 +63,7 @@ gegl_property_int (width, "nick", _("Width"),
"role", "output-extent",
NULL)
-gegl_property_int (height, "nick", _("Height"),
+gegl_property_int (height, _("Height"),
"blurb", _("Height of the generated buffer"),
"default", 768, "min", 0,
"ui-min", 0, "ui-max", 4096,
@@ -72,9 +72,7 @@ gegl_property_int (height, "nick", _("Height"),
"role", "output-extent",
NULL)
-gegl_property_seed (seed, rand,
- "nick", _("Random seed"),
- NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/polar-coordinates.c b/operations/common/polar-coordinates.c
index 8254be6..a243be5 100644
--- a/operations/common/polar-coordinates.c
+++ b/operations/common/polar-coordinates.c
@@ -31,43 +31,43 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (depth, "nick", _("Circle depth in percent"),
+gegl_property_double (depth, _("Circle depth in percent"),
"min", 0.0, "max", 100.0, "default", 100.0,
NULL)
-gegl_property_double (angle, "nick", _("Offset angle"),
+gegl_property_double (angle, _("Offset angle"),
"min", 0.0, "max", 359.9,
NULL)
-gegl_property_boolean (bw, "nick", _("Map backwards"),
+gegl_property_boolean (bw, _("Map backwards"),
"blurb", _("Start from the right instead of the left"),
NULL)
-gegl_property_boolean (top, "nick", _("Map from top"),
+gegl_property_boolean (top, _("Map from top"),
"blurb", _("Put the top row in the middle and the bottom row on the outside"),
"default", TRUE,
NULL)
-gegl_property_boolean (polar, "nick", _("To polar"),
+gegl_property_boolean (polar, _("To polar"),
"blurb", _("Map the image to a circle"),
"default", TRUE,
NULL)
-gegl_property_int (pole_x, "nick", _("X"),
+gegl_property_int (pole_x, _("X"),
"blurb", _("Origin point for the polar coordinates"),
"min", 0, "max", G_MAXINT,
"unit", "pixel-coordinate",
"axis", "x",
NULL)
-gegl_property_int (pole_y, "nick", _("Y"),
+gegl_property_int (pole_y, _("Y"),
"blurb", _("Origin point for the polar coordinates"),
"min", 0, "max", G_MAXINT,
"unit", "pixel-coordinate",
"axis", "y",
NULL)
-gegl_property_boolean (middle, "nick", _("Choose middle"),
+gegl_property_boolean (middle, _("Choose middle"),
"blurb", _("Let origin point to be the middle one"),
"default", TRUE,
NULL)
diff --git a/operations/common/posterize.c b/operations/common/posterize.c
index c10a188..c3be123 100644
--- a/operations/common/posterize.c
+++ b/operations/common/posterize.c
@@ -21,7 +21,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (levels, "nick", _("Levels"),
+gegl_property_int (levels, _("Levels"),
"blurb", _("number of levels per component"),
"default", 8, "min", 1, "max", 64,
"ui-min", 1, "ui-max", 64, "ui-gamma", 2.0,
diff --git a/operations/common/raw-load.c b/operations/common/raw-load.c
index 84d308f..cfcbce6 100644
--- a/operations/common/raw-load.c
+++ b/operations/common/raw-load.c
@@ -23,7 +23,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_file_path (path, "nick", _("File"),
+gegl_property_file_path (path, _("File"),
"blurb", _("Path of file to load."),
"default", "/tmp/test.raw",
NULL)
diff --git a/operations/common/rectangle.c b/operations/common/rectangle.c
index 4f8e57e..c4ebd21 100644
--- a/operations/common/rectangle.c
+++ b/operations/common/rectangle.c
@@ -23,33 +23,33 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (x, "nick", _("X"),
+gegl_property_double (x, _("X"),
"blurb", _("Horizontal position"),
"unit", "pixel-coordinate",
"axis", "x",
NULL)
-gegl_property_double (y, "nick", _("Y"),
+gegl_property_double (y, _("Y"),
"blurb", _("Vertical position"),
"unit", "pixel-coordinate",
"axis", "y",
NULL)
-gegl_property_double (width, "nick", _("Width"),
+gegl_property_double (width, _("Width"),
"blurb", _("Horizontal extent"),
"min", 0.0, "max", G_MAXDOUBLE,
"unit", "pixel-distance",
"axis", "x",
NULL)
-gegl_property_double (height, "nick", _("Height"),
+gegl_property_double (height, _("Height"),
"blurb", _("Vertical extent"),
"min", 0.0, "max", G_MAXDOUBLE,
"unit", "pixel-distance",
"axis", "y",
NULL)
-gegl_property_color(color, "nick", _("Color"),
+gegl_property_color(color, _("Color"),
"blurb", _("Color to render"),
"default", "white",
NULL)
diff --git a/operations/common/red-eye-removal.c b/operations/common/red-eye-removal.c
index 0e88f93..155c578 100644
--- a/operations/common/red-eye-removal.c
+++ b/operations/common/red-eye-removal.c
@@ -28,7 +28,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (threshold, "nick", _("Threshold"),
+gegl_property_double (threshold, _("Threshold"),
"blurb", _("Red eye threshold"),
"default", 0.4, "min", 0.0, "max", 0.8,
NULL)
diff --git a/operations/common/reinhard05.c b/operations/common/reinhard05.c
index 358bb8e..7779816 100644
--- a/operations/common/reinhard05.c
+++ b/operations/common/reinhard05.c
@@ -23,17 +23,17 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (brightness, "nick", _("Brightness"),
+gegl_property_double (brightness, _("Brightness"),
"blurb", _("Overall brightness of the image"),
"min", -100.0, "max", 100.0,
NULL)
-gegl_property_double (chromatic, "nick", _("Chromatic Adaptation"),
+gegl_property_double (chromatic, _("Chromatic Adaptation"),
"blurb", _("Adaptation to color variation across the image"),
"min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (light, "nick", _("Light Adaptation"),
+gegl_property_double (light, _("Light Adaptation"),
"blurb", _("Adaptation to light variation across the image"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
diff --git a/operations/common/ripple.c b/operations/common/ripple.c
index 95497e4..e3f5798 100644
--- a/operations/common/ripple.c
+++ b/operations/common/ripple.c
@@ -29,36 +29,36 @@ gegl_enum_start (gegl_ripple_wave_type)
gegl_enum_value (GEGL_RIPPLE_WAVE_TYPE_SAWTOOTH, "Sawtooth")
gegl_enum_end (GeglRippleWaveType)
-gegl_property_double (amplitude, "nick", _("Amplitude"),
+gegl_property_double (amplitude, _("Amplitude"),
"default", 25.0, "min", 0.0, "max", 1000.0,
"ui-min", 0.0, "ui-max", 1000.0, "ui-gamma", 2.0,
NULL)
-gegl_property_double (period, "nick", _("Period"),
+gegl_property_double (period, _("Period"),
"default", 200.0, "min", 0.0, "max", 1000.0,
"ui-min", 0.0, "ui-max", 1000.0, "ui-gamma", 1.5,
NULL)
-gegl_property_double (phi, "nick", _("Phase shift"),
+gegl_property_double (phi, _("Phase shift"),
"min", -1.0, "max", 1.0,
NULL)
-gegl_property_double (angle, "nick", _("Angle"),
+gegl_property_double (angle, _("Angle"),
"min", -180.0, "max", 180.0,
"unit", "degree",
NULL)
-gegl_property_enum (sampler_type, GeglSamplerType, gegl_sampler_type,
- "nick", _("Resampling method"),
+gegl_property_enum (sampler_type, _("Resampling method"),
+ GeglSamplerType, gegl_sampler_type,
"default", GEGL_SAMPLER_CUBIC,
NULL)
-gegl_property_enum (wave_type, GeglRippleWaveType, gegl_ripple_wave_type,
- "nick", _("Wave type"),
+gegl_property_enum (wave_type, _("Wave type"),
+ GeglRippleWaveType, gegl_ripple_wave_type,
"default", GEGL_RIPPLE_WAVE_TYPE_SINE,
NULL)
-gegl_property_boolean (tileable, "nick", _("Tileable"),
+gegl_property_boolean (tileable, _("Tileable"),
"blurb", _("Retain tilebility"),
NULL)
diff --git a/operations/common/save.c b/operations/common/save.c
index ff4aefb..92b8f11 100644
--- a/operations/common/save.c
+++ b/operations/common/save.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_file_path (path, "nick", _("File"),
+gegl_property_file_path (path, _("File"),
"blurb", _("Path of file to save."),
NULL)
diff --git a/operations/common/shift.c b/operations/common/shift.c
index 6dbc021..3c7c688 100644
--- a/operations/common/shift.c
+++ b/operations/common/shift.c
@@ -28,18 +28,18 @@ gegl_enum_start (gegl_shift_direction)
gegl_enum_value (GEGL_SHIFT_DIRECTION_VERTICAL, "Vertical")
gegl_enum_end (GeglShiftDirection)
-gegl_property_int (shift, "nick", _("Shift"),
+gegl_property_int (shift, _("Shift"),
"blurb", _("Maximum amount to shift"),
"default", 5, "min", 0, "max", 200,
"unit", "pixel-distance",
NULL)
-gegl_property_enum (direction, GeglShiftDirection, gegl_shift_direction,
- "nick", _("Shift direction"),
+gegl_property_enum (direction, _("Shift direction"),
+ GeglShiftDirection, gegl_shift_direction,
"default", GEGL_SHIFT_DIRECTION_HORIZONTAL,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
diff --git a/operations/common/snn-mean.c b/operations/common/snn-mean.c
index 99d5a8b..c5ed5b3 100644
--- a/operations/common/snn-mean.c
+++ b/operations/common/snn-mean.c
@@ -23,14 +23,14 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (radius, "nick", _("Radius"),
+gegl_property_int (radius, _("Radius"),
"blurb", _("Radius of square pixel region, (width and height will be radius*2+1)"),
"default", 8, "min", 0, "max", 100,
"ui-min", 0, "ui-max", 40, "ui-gamma", 1.5,
"unit", " pixel-distance",
NULL)
-gegl_property_int (pairs, "nick", _("Pairs"),
+gegl_property_int (pairs, _("Pairs"),
"blurb", _("Number of pairs; higher number preserves more acute features"),
"default", 2, "min", 1, "max", 2,
NULL)
diff --git a/operations/common/softglow.c b/operations/common/softglow.c
index e2444f5..de21646 100644
--- a/operations/common/softglow.c
+++ b/operations/common/softglow.c
@@ -23,16 +23,16 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (glow_radius, "nick", _("Glow radius"),
+gegl_property_double (glow_radius, _("Glow radius"),
"default", 10.0, "min", 1.0, "max", 50.0,
"unit", "pixel-distance",
NULL)
-gegl_property_double (brightness, "nick", _("Brightness"),
+gegl_property_double (brightness, _("Brightness"),
"default", 0.30, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (sharpness, "nick", _("Sharpness"),
+gegl_property_double (sharpness, _("Sharpness"),
"default", 0.85, "min", 0.0, "max", 1.0,
NULL)
diff --git a/operations/common/stress.c b/operations/common/stress.c
index 1b08827..15b18b9 100644
--- a/operations/common/stress.c
+++ b/operations/common/stress.c
@@ -24,20 +24,20 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (radius, "nick", _("Radius"),
+gegl_property_int (radius, _("Radius"),
"blurb", _("Neighborhood taken into account, for enhancement ideal values are close to the longest side
of the image, increasing this increases the runtime"),
"default", 300, "min", 2, "max", 5000,
"ui-min", 2, "ui-max", 2000, "ui-gamma", 1.0,
"unit", "pixel-distance",
NULL)
-gegl_property_int (samples, "nick", _("Samples"),
+gegl_property_int (samples, _("Samples"),
"blurb", _("Number of samples to do per iteration looking for the range of colors"),
"default", 5, "min", 2, "max", 200,
"ui-min", 2, "ui-max", 10,
NULL)
-gegl_property_int (iterations, "nick", _("Iterations"),
+gegl_property_int (iterations, _("Iterations"),
"blurb", _("Number of iterations, a higher number of iterations provides a less noisy rendering at a
computational cost"),
"default", 5, "min", 1, "max", 200,
"ui-min", 1, "ui-max", 10,
diff --git a/operations/common/stretch-contrast.c b/operations/common/stretch-contrast.c
index 6d832ea..7f32a3e 100644
--- a/operations/common/stretch-contrast.c
+++ b/operations/common/stretch-contrast.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_boolean (keep_colors, "nick", _("Keep colors"),
+gegl_property_boolean (keep_colors, _("Keep colors"),
"blurb", _("Impact each channel with the same amount"),
"default", TRUE,
NULL)
diff --git a/operations/common/svg-huerotate.c b/operations/common/svg-huerotate.c
index 6f85273..cbc8f33 100644
--- a/operations/common/svg-huerotate.c
+++ b/operations/common/svg-huerotate.c
@@ -24,7 +24,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_string (values, "nick", _("Values"),
+gegl_property_string (values, _("Values"),
"blurb", _("list of <number>s"),
NULL)
diff --git a/operations/common/svg-matrix.c b/operations/common/svg-matrix.c
index 07d1ebd..7df3a6d 100644
--- a/operations/common/svg-matrix.c
+++ b/operations/common/svg-matrix.c
@@ -24,7 +24,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_string (values, "nick", _("Values"),
+gegl_property_string (values, _("Values"),
"blurb", _("list of <number>s"),
NULL)
diff --git a/operations/common/svg-saturate.c b/operations/common/svg-saturate.c
index 04436ff..ce6c799 100644
--- a/operations/common/svg-saturate.c
+++ b/operations/common/svg-saturate.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_string (values, "nick", _("Values"),
+gegl_property_string (values, _("Values"),
"blurb", _("list of <number>s"),
NULL)
diff --git a/operations/common/texturize-canvas.c b/operations/common/texturize-canvas.c
index d76d102..e2b531b 100644
--- a/operations/common/texturize-canvas.c
+++ b/operations/common/texturize-canvas.c
@@ -31,14 +31,14 @@ gegl_enum_start (gegl_texturize_canvas_direction)
gegl_enum_value (GEGL_TEXTURIZE_CANVAS_DIRECTION_BOTTOM_RIGHT, "Bottom-right")
gegl_enum_end (GeglTexturizeCanvasDirection)
-gegl_property_enum (direction, GeglTexturizeCanvasDirection, gegl_texturize_canvas_direction,
- "nick", _("Direction"),
+gegl_property_enum (direction, _("Direction"),
+ GeglTexturizeCanvasDirection, gegl_texturize_canvas_direction,
"blurb", _("Position of the light source which lightens the canvas: "
"Top-right, Top-left, Bottom-left or Bottom-right"),
"default", GEGL_TEXTURIZE_CANVAS_DIRECTION_TOP_RIGHT,
NULL)
-gegl_property_int (depth, "nick", _("Depth"),
+gegl_property_int (depth, _("Depth"),
"blurb", _("Apparent depth of the rendered canvas effect; "
"from 1 (very flat) to 50 (very deep)"),
"default", 4, "min", 1, "max", 50,
diff --git a/operations/common/threshold.c b/operations/common/threshold.c
index 205bdfc..7f65d81 100644
--- a/operations/common/threshold.c
+++ b/operations/common/threshold.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (value, "nick", _("Threshold"),
+gegl_property_double (value, _("Threshold"),
"blurb", _("Scalar threshold level (overriden if an auxiliary input buffer is provided.)."),
"default", 0.5, "min", -200.0, "max", 200.0,
"ui-min", -10.0, "ui-max", 10.0,
diff --git a/operations/common/tile-glass.c b/operations/common/tile-glass.c
index e71ee68..f476524 100644
--- a/operations/common/tile-glass.c
+++ b/operations/common/tile-glass.c
@@ -25,14 +25,14 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (tile_width, "nick", _("Tile Width"),
+gegl_property_int (tile_width, _("Tile Width"),
"default", 25, "min", 10, "max", 500,
"ui-max", 50,
"unit", "pixel-distance",
"axis", "x",
NULL)
-gegl_property_int (tile_height, "nick", _("Tile Height"),
+gegl_property_int (tile_height, _("Tile Height"),
"default", 25, "min", 10, "max", 500,
"ui-max", 50,
"unit", "pixel-distance",
diff --git a/operations/common/tile.c b/operations/common/tile.c
index daf0942..80c1527 100644
--- a/operations/common/tile.c
+++ b/operations/common/tile.c
@@ -21,12 +21,12 @@
#ifdef GEGL_PROPERTIES
-gegl_property_int (offset_x, "nick", _("Horizontal offset"),
+gegl_property_int (offset_x, _("Horizontal offset"),
"unit", "pixel-coordinate",
"axis", "x",
NULL)
-gegl_property_int (offset_y, "nick", _("Vertical offset"),
+gegl_property_int (offset_y, _("Vertical offset"),
"unit", "pixel-coordinate",
"axis", "y",
NULL)
diff --git a/operations/common/unsharp-mask.c b/operations/common/unsharp-mask.c
index be4ccbe..a991f80 100644
--- a/operations/common/unsharp-mask.c
+++ b/operations/common/unsharp-mask.c
@@ -21,14 +21,14 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (std_dev, "nick", _("Std. Dev."),
+gegl_property_double (std_dev, _("Std. Dev."),
"blurb", _("Standard deviation (spatial scale factor)"),
"default", 0.55, "min", 0.2, "max", 300.0,
"ui-min", 0.2, "ui-max", 10.0, "ui-gamma", 3.0,
"unit", "pixel-distance",
NULL)
-gegl_property_double (scale, "nick", _("Scale"),
+gegl_property_double (scale, _("Scale"),
"blurb", _("Scale, strength of effect"),
"default", 4.0, "min", 0.0, "max", 300.0,
"ui-max", 10.0, "ui-gamma", 3.0,
diff --git a/operations/common/vignette.c b/operations/common/vignette.c
index 7c46b75..41df9f6 100644
--- a/operations/common/vignette.c
+++ b/operations/common/vignette.c
@@ -27,38 +27,38 @@ gegl_enum_start (gegl_vignette_shape)
gegl_enum_value (GEGL_VIGNETTE_SHAPE_DIAMOND, "Diamond")
gegl_enum_end (GeglVignetteShape)
-gegl_property_enum (shape, GeglVignetteShape, gegl_vignette_shape,
- "nick", _("Shape"),
+gegl_property_enum (shape, _("Shape"),
+ GeglVignetteShape, gegl_vignette_shape,
"blurb", _("Shape of the vignette"),
"default", GEGL_VIGNETTE_SHAPE_CIRCLE,
NULL)
-gegl_property_color (color, "nick", _("Color"),
+gegl_property_color (color, _("Color"),
"blurb", _("Defaults to 'black', you can use transparency here to erase portions of an image"),
"default", "black",
NULL)
-gegl_property_double (radius, "nick", _("Radius"),
+gegl_property_double (radius, _("Radius"),
"blurb",_("How far out vignetting goes as portion of half image diagonal"),
"default", 1.5, "min", 0.0, "max", 3.0,
"unit", "relative-distance",
NULL)
-gegl_property_double (softness, "nick", _("Softness"),
+gegl_property_double (softness, _("Softness"),
"default", 0.8, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (gamma, "nick", _("Gamma"),
+gegl_property_double (gamma, _("Gamma"),
"blurb", _("Falloff linearity"),
"default", 2.0, "min", 1.0, "max", 20.0, 2.0,
NULL)
-gegl_property_double (proportion, "nick", _("Proportion"),
+gegl_property_double (proportion, _("Proportion"),
"blurb", _("How close we are to image proportions"),
"default", 1.0, "min", 0.0, "max", 1.0,
NULL)
-gegl_property_double (squeeze, "nick", _("Squeeze"),
+gegl_property_double (squeeze, _("Squeeze"),
"blurb",_("Aspect ratio to use, -0.5 = 1:2, 0.0 = 1:1, 0.5 = 2:1, "
"-1.0 = 1:inf 1.0 = inf:1, this is applied after "
"proportion is taken into account, to directly use "
@@ -66,21 +66,21 @@ gegl_property_double (squeeze, "nick", _("Squeeze"),
"default", 0.0, "min", -1.0, "max", 1.0,
NULL)
-gegl_property_double (x, "nick", _("X"),
+gegl_property_double (x, _("X"),
"blurb", _("Horizontal center of vignetting"),
"default", 0.5, "min", -1.0, "max", 2.0,
"unit", "relative-distance",
"axis", "x",
NULL)
-gegl_property_double (y, "nick", _("Y"),
+gegl_property_double (y, _("Y"),
"blurb", _("Vertical center of vignetting"),
"default", 0.5, "min", -1.0, "max", 2.0,
"unit", "relative-distance",
"axis", "y",
NULL)
-gegl_property_double (rotation, "nick", _("Rotation"),
+gegl_property_double (rotation, _("Rotation"),
"min", 0.0, "max", 360.0,
"unit", "degree", /* XXX: perhaps change to radians? */
NULL)
diff --git a/operations/common/waves.c b/operations/common/waves.c
index 6043666..39ae36a 100644
--- a/operations/common/waves.c
+++ b/operations/common/waves.c
@@ -23,45 +23,45 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (x, "nick", _("X center"),
+gegl_property_double (x, _("X center"),
"blurb", _("X coordinate of the center of the waves"),
"ui-min", 0.0, "ui-max", 1024.0, "ui-gamma", 1.0,
"unit", "pixel-coordinate",
"axis", "x",
NULL)
-gegl_property_double (y, "nick", _("Y center"),
+gegl_property_double (y, _("Y center"),
"blurb", _("Y coordinate of the center of the waves"),
"ui-min", 0.0, "ui-max", 1024.0, "ui-gamma", 1.0,
"unit", "pixel-coordinate",
"axis", "y",
NULL)
-gegl_property_double (amplitude, "nick", _("Amplitude"),
+gegl_property_double (amplitude, _("Amplitude"),
"blurb", _("Amplitude of the ripple"),
"default", 25.0, "min", 0.0, "max", 1000.0,
NULL)
-gegl_property_double (period, "nick", _("Period"),
+gegl_property_double (period, _("Period"),
"blurb", _("Period (wavelength) of the ripple"),
"default", 200.0, "min", 0.0, "max", 1000.0,
NULL)
-gegl_property_double (phi, "nick", _("Phase shift"),
+gegl_property_double (phi, _("Phase shift"),
"min", -1.0, "max", 1.0,
NULL)
-gegl_property_double (aspect, "nick", _("Aspect ratio"),
+gegl_property_double (aspect, _("Aspect ratio"),
"default", 1.0, "min", 0.1, "max", 10.0,
NULL)
-gegl_property_enum (sampler_type, GeglSamplerType, gegl_sampler_type,
- "nick", _("Resampling method"),
+gegl_property_enum (sampler_type, _("Resampling method"),
+ GeglSamplerType, gegl_sampler_type,
"blurb", _("Mathematical method for reconstructing pixel values"),
"default", GEGL_SAMPLER_CUBIC,
NULL)
-gegl_property_boolean (clamp, "nick", _("Clamp deformation"),
+gegl_property_boolean (clamp, _("Clamp deformation"),
"blurb", _("Limit deformation in the image area."),
NULL)
diff --git a/operations/common/whirl-pinch.c b/operations/common/whirl-pinch.c
index 6399bf2..76792d3 100644
--- a/operations/common/whirl-pinch.c
+++ b/operations/common/whirl-pinch.c
@@ -33,19 +33,19 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (whirl, "nick", _("Whirl"),
+gegl_property_double (whirl, _("Whirl"),
"blurb", _("Whirl angle (degrees)"),
"default", 90.0,
"ui-min", -720.0, "ui-max", 720.0, "ui-gamma", 1.0,
"unit", "degrees",
NULL)
-gegl_property_double (pinch, "nick", _("Pinch"),
+gegl_property_double (pinch, _("Pinch"),
"blurb", _("Pinch amount"),
"default", 0.0, "min", -1.0, "max", 1.0,
NULL)
-gegl_property_double (radius, "nick", _("Radius"),
+gegl_property_double (radius, _("Radius"),
"blurb", _("Radius (1.0 is the largest circle that fits in the "
"image, and 2.0 goes all the way to the corners)"),
"default", 1.0, "min", 0.0, "max", 2.0,
diff --git a/operations/common/wind.c b/operations/common/wind.c
index f5a9a79..e4ab2f0 100644
--- a/operations/common/wind.c
+++ b/operations/common/wind.c
@@ -23,17 +23,17 @@
#ifdef GEGL_PROPERTIES
-gegl_property_double (threshold, "nick", _("Threshold"),
+gegl_property_double (threshold, _("Threshold"),
"blurb", _("Higher values restrict the effect to fewer areas of the image"),
"default", 10.0, "min", 0.0, "max", 100.0,
NULL)
-gegl_property_int (strength, "nick", _("Strength"),
+gegl_property_int (strength, _("Strength"),
"blurb", _("Higher values increase the magnitude of the effect"),
"default", 40, "min", 1, "max", 1000,
NULL)
-gegl_property_seed (seed, rand, "nick", _("Seed"),
+gegl_property_seed (seed, _("Seed"), rand,
"blurb", _("Random seed"),
NULL)
diff --git a/operations/common/write-buffer.c b/operations/common/write-buffer.c
index aa722e7..10faa4b 100644
--- a/operations/common/write-buffer.c
+++ b/operations/common/write-buffer.c
@@ -22,7 +22,7 @@
#ifdef GEGL_PROPERTIES
-gegl_property_object (buffer, "nick", _("Buffer location"),
+gegl_property_object (buffer, _("Buffer location"),
"blurb", _("A pre-existing GeglBuffer to write incoming buffer data to."),
NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]