[gegl] brightness-contrast: compact property meta-data
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] brightness-contrast: compact property meta-data
- Date: Fri, 16 May 2014 19:28:48 +0000 (UTC)
commit 9bf30e3b3a56333b38f51d35ba2235919a9ad86b
Author: Øyvind Kolås <pippin gimp org>
Date: Fri May 16 21:20:54 2014 +0200
brightness-contrast: compact property meta-data
operations/common/brightness-contrast.c | 22 ++++++----------------
1 files changed, 6 insertions(+), 16 deletions(-)
---
diff --git a/operations/common/brightness-contrast.c b/operations/common/brightness-contrast.c
index 4ae0744..f07d64c 100644
--- a/operations/common/brightness-contrast.c
+++ b/operations/common/brightness-contrast.c
@@ -28,26 +28,16 @@
* in the GeglProperties struct used when processing.
*/
-gegl_property_double (contrast,
- "nick", _("Contrast"),
- "min" , -5.0,
- "max", 5.0,
- "default", 1.0,
- "ui-min", 0.0,
- "ui-max", 2.0,
- "ui-gamma", 1.0,
+gegl_property_double (contrast, "nick", _("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"),
- "min", -3.0,
- "max", 3.0,
- "default", 0.0,
- "ui-min", -1.0,
- "ui-max", 1.0,
- "ui-gamma", 1.0,
+gegl_property_double (brightness, "nick", _("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,
NULL)
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]