[gegl] Patch to clear up defaults and description for mono-mixer UI



commit b90f80f802fa5cdb04de45294d675dfa9176104e
Author: Norm Murray <norm outsidethenorm com>
Date:   Mon May 11 23:38:35 2015 +1000

    Patch to clear up defaults and description for mono-mixer UI
    
    From the GIMP UI it's very tough to tell what the values represent, so changing 'Amount of [color]' to 
'[color] Channel Multiplier]' will help understanding of what the UI is representing.
    
    To go with this, set default value to .333 so a default conversion is approximately luminosity neutral.
    
    Lastly, pull the value range toward a reasonable range -10 to 10 is extreme

 operations/common/mono-mixer.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/operations/common/mono-mixer.c b/operations/common/mono-mixer.c
index 49cf4d9..00c7ce0 100644
--- a/operations/common/mono-mixer.c
+++ b/operations/common/mono-mixer.c
@@ -25,17 +25,17 @@
 #ifdef GEGL_PROPERTIES
 property_boolean (preserve_luminosity, _("Preserve luminosity"), FALSE)
 
-property_double (red, _("Amount of red"), 0.5)
-    value_range (-10.0, 10.0)
-    ui_range    (-1.0, 1.0)
+property_double (red, _("Red Channel Multiplier"), 0.333)
+    value_range (-5.0, 5.0)
+    ui_range    (-2.0, 2.0)
 
-property_double (green, _("Amount of green"), 0.5)
-    value_range (-10.0, 10.0)
-    ui_range    (-1.0, 1.0)
+property_double (green, _("Green Channel Multiplier"), 0.333)
+    value_range (-5.0, 5.0)
+    ui_range    (-2.0, 2.0)
 
-property_double (blue, _("Amount of blue"), 0.5)
-    value_range (-10.0, 10.0)
-    ui_range    (-1.0, 1.0)
+property_double (blue, _("Blue Channel Multiplier"), 0.333)
+    value_range (-5.0, 5.0)
+    ui_range    (-2.0, 2.0)
 
 #else
 


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