[gegl] shadows-highlights, shadows-highlights-correction: Describe properties
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] shadows-highlights, shadows-highlights-correction: Describe properties
- Date: Thu, 4 Jan 2018 06:46:11 +0000 (UTC)
commit 90ae4e2747544b7b7ac1b136cc142d78839860ae
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jan 4 07:42:52 2018 +0100
shadows-highlights, shadows-highlights-correction: Describe properties
.../common-gpl3+/shadows-highlights-correction.c | 6 ++++++
operations/common-gpl3+/shadows-highlights.c | 7 +++++++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/operations/common-gpl3+/shadows-highlights-correction.c
b/operations/common-gpl3+/shadows-highlights-correction.c
index 56f7b37..0094636 100644
--- a/operations/common-gpl3+/shadows-highlights-correction.c
+++ b/operations/common-gpl3+/shadows-highlights-correction.c
@@ -27,21 +27,27 @@
#ifdef GEGL_PROPERTIES
property_double (shadows, _("Shadows"), 50.0)
+ description (_("Adjust exposure of shadows"))
value_range (-100.0, 100.0)
property_double (highlights, _("Highlights"), -50.0)
+ description (_("Adjust exposure of highlights"))
value_range (-100.0, 100.0)
property_double (whitepoint, _("White point adjustment"), 0.0)
+ description (_("Shift white point"))
value_range (-10.0, 10.0)
property_double (compress, _("Compress"), 50.0)
+ description (_("Compress the effect on shadows/highlights and preserve midtones"))
value_range (0.0, 100.0)
property_double (shadows_ccorrect, _("Shadows color adjustment"), 100.0)
+ description (_("Adjust saturation of shadows"))
value_range (0.0, 100.0)
property_double (highlights_ccorrect, _("Highlights color adjustment"), 50.0)
+ description (_("Adjust saturation of highlights"))
value_range (0.0, 100.0)
#else
diff --git a/operations/common-gpl3+/shadows-highlights.c b/operations/common-gpl3+/shadows-highlights.c
index 15160b8..7abb385 100644
--- a/operations/common-gpl3+/shadows-highlights.c
+++ b/operations/common-gpl3+/shadows-highlights.c
@@ -26,25 +26,32 @@
#ifdef GEGL_PROPERTIES
property_double (shadows, _("Shadows"), 50.0)
+ description (_("Adjust exposure of shadows"))
value_range (-100.0, 100.0)
property_double (highlights, _("Highlights"), -50.0)
+ description (_("Adjust exposure of highlights"))
value_range (-100.0, 100.0)
property_double (whitepoint, _("White point adjustment"), 0.0)
+ description (_("Shift white point"))
value_range (-10.0, 10.0)
property_double (radius, _("Radius"), 100.0)
+ description (_("Spatial extent"))
value_range (0.1, 1500.0)
ui_range (0.1, 200.0)
property_double (compress, _("Compress"), 50.0)
+ description (_("Compress the effect on shadows/highlights and preserve midtones"))
value_range (0.0, 100.0)
property_double (shadows_ccorrect, _("Shadows color adjustment"), 100.0)
+ description (_("Adjust saturation of shadows"))
value_range (0.0, 100.0)
property_double (highlights_ccorrect, _("Highlights color adjustment"), 50.0)
+ description (_("Adjust saturation of highlights"))
value_range (0.0, 100.0)
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]