[gimp] app: use proper vivid colors for the background curves



commit 3ba055462856eed64bf55fa6c5f49591af965cb8
Author: Michael Natterer <mitch gimp org>
Date:   Wed Feb 9 09:26:06 2011 +0100

    app: use proper vivid colors for the background curves
    
    instead of dull ones. The curve view already displays them with 0.5
    opacity, so there is no reason to make them even harder to distinguish.

 app/widgets/gimpdynamicsoutputeditor.c |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/app/widgets/gimpdynamicsoutputeditor.c b/app/widgets/gimpdynamicsoutputeditor.c
index d97b203..908075b 100644
--- a/app/widgets/gimpdynamicsoutputeditor.c
+++ b/app/widgets/gimpdynamicsoutputeditor.c
@@ -65,13 +65,13 @@ struct
 }
 inputs[] =
 {
-  { "use-pressure",  "pressure-curve",  N_("Pressure"),  { 0.5, 0.0, 0.0, 1.0 } },
-  { "use-velocity",  "velocity-curve",  N_("Velocity"),  { 0.0, 0.5, 0.0, 1.0 } },
-  { "use-direction", "direction-curve", N_("Direction"), { 0.0, 0.0, 0.5, 1.0 } },
-  { "use-tilt",      "tilt-curve",      N_("Tilt"),      { 0.5, 0.5, 0.0, 1.0 } },
-  { "use-wheel",     "wheel-curve",     N_("Wheel"),     { 0.5, 0.0, 0.5, 1.0 } },
-  { "use-random",    "random-curve",    N_("Random"),    { 0.0, 0.5, 0.5, 1.0 } },
-  { "use-fade",      "fade-curve",      N_("Fade"),      { 0.5, 0.5, 0.5, 1.0 } }
+  { "use-pressure",  "pressure-curve",  N_("Pressure"),  { 1.0, 0.0, 0.0, 1.0 } },
+  { "use-velocity",  "velocity-curve",  N_("Velocity"),  { 0.0, 1.0, 0.0, 1.0 } },
+  { "use-direction", "direction-curve", N_("Direction"), { 0.0, 0.0, 1.0, 1.0 } },
+  { "use-tilt",      "tilt-curve",      N_("Tilt"),      { 1.0, 1.0, 0.0, 1.0 } },
+  { "use-wheel",     "wheel-curve",     N_("Wheel"),     { 1.0, 0.0, 1.0, 1.0 } },
+  { "use-random",    "random-curve",    N_("Random"),    { 0.0, 1.0, 1.0, 1.0 } },
+  { "use-fade",      "fade-curve",      N_("Fade"),      { 0.2, 0.2, 0.2, 1.0 } }
 };
 
 
@@ -241,20 +241,20 @@ gimp_dynamics_output_editor_constructed (GObject *object)
 
   gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (view),
                                                -1, NULL,
-                                               cell,
-                                               "active", INPUT_COLUMN_USE_INPUT,
+                                               gimp_cell_renderer_color_new (),
+                                               "color", INPUT_COLUMN_COLOR,
                                                NULL);
 
   gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (view),
                                                -1, NULL,
-                                               gtk_cell_renderer_text_new (),
-                                               "text", INPUT_COLUMN_NAME,
+                                               cell,
+                                               "active", INPUT_COLUMN_USE_INPUT,
                                                NULL);
 
   gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (view),
                                                -1, NULL,
-                                               gimp_cell_renderer_color_new (),
-                                               "color", INPUT_COLUMN_COLOR,
+                                               gtk_cell_renderer_text_new (),
+                                               "text", INPUT_COLUMN_NAME,
                                                NULL);
 
   gtk_box_pack_start (GTK_BOX (editor), view, FALSE, FALSE, 0);



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