diff options
author | Øyvind Kolås <pippin@gimp.org> | 2014-05-16 21:20:54 +0200 |
---|---|---|
committer | Øyvind Kolås <pippin@gimp.org> | 2014-05-16 21:20:54 +0200 |
commit | 9bf30e3b3a56333b38f51d35ba2235919a9ad86b (patch) | |
tree | 74e0be386ac0a41ccfdb5d5555ed7a7331682e03 /operations | |
parent | 1fc16be54f104d9290b5cd1aae3884ca649a656d (diff) |
brightness-contrast: compact property meta-data
Diffstat (limited to 'operations')
-rw-r--r-- | 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 4ae07441..f07d64cc 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 |