Hi

The layer mode combo box contains groups of layer modes. I fail to see
the logic behind the current grouping and instead propose a new
grouping. The new groups are:

* Different alpha compositing methods
* Modes that always gives a brighter result
* Modes that always give a darker result
* Overlay-like modes
* Modes that can give completely different colors
* Modes based on HSV/HSL.

The darker and lighter modes have been internally sorted based on how
much they tend to affect the image, see end of mail.

Attached to this mail is a patch that does this regrouping so you can
try how it feels. Does anyone have any problems with me commiting that?
If not I will commit it to trunk within a few days.

BR,
Martin


New groups:

Normal
Dissolve

Lighten Only
Screen
Dodge
Addition
Divide

Darken Only
Multiply
Burn
Subtract

Overlay
Soft light
Hard light

Difference
Grain merge
Grain extract

Hue
Saturation
Color
Value

Index: app/widgets/gimpwidgets-constructors.c
===================================================================
--- app/widgets/gimpwidgets-constructors.c	(revision 27508)
+++ app/widgets/gimpwidgets-constructors.c	(working copy)
@@ -107,23 +107,24 @@ gimp_paint_mode_menu_new (gboolean with_
                                            GIMP_NORMAL_MODE,
                                            GIMP_DISSOLVE_MODE,
 
-                                           GIMP_MULTIPLY_MODE,
-                                           GIMP_DIVIDE_MODE,
+                                           GIMP_LIGHTEN_ONLY_MODE,
                                            GIMP_SCREEN_MODE,
-                                           GIMP_OVERLAY_MODE,
-
                                            GIMP_DODGE_MODE,
+                                           GIMP_ADDITION_MODE,
+                                           GIMP_DIVIDE_MODE,
+
+                                           GIMP_DARKEN_ONLY_MODE,
+                                           GIMP_MULTIPLY_MODE,
                                            GIMP_BURN_MODE,
-                                           GIMP_HARDLIGHT_MODE,
+                                           GIMP_SUBTRACT_MODE,
+
+                                           GIMP_OVERLAY_MODE,
                                            GIMP_SOFTLIGHT_MODE,
-                                           GIMP_GRAIN_EXTRACT_MODE,
-                                           GIMP_GRAIN_MERGE_MODE,
+                                           GIMP_HARDLIGHT_MODE,
 
                                            GIMP_DIFFERENCE_MODE,
-                                           GIMP_ADDITION_MODE,
-                                           GIMP_SUBTRACT_MODE,
-                                           GIMP_DARKEN_ONLY_MODE,
-                                           GIMP_LIGHTEN_ONLY_MODE,
+                                           GIMP_GRAIN_MERGE_MODE,
+                                           GIMP_GRAIN_EXTRACT_MODE,
 
                                            GIMP_HUE_MODE,
                                            GIMP_SATURATION_MODE,
@@ -133,11 +134,13 @@ gimp_paint_mode_menu_new (gboolean with_
   gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
                                          GIMP_DISSOLVE_MODE, -1);
   gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
-                                         GIMP_OVERLAY_MODE, -1);
+                                         GIMP_DIVIDE_MODE, -1);
+  gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
+                                         GIMP_SUBTRACT_MODE, -1);
   gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
-                                         GIMP_GRAIN_MERGE_MODE, -1);
+                                         GIMP_HARDLIGHT_MODE, -1);
   gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
-                                         GIMP_LIGHTEN_ONLY_MODE, -1);
+                                         GIMP_GRAIN_EXTRACT_MODE, -1);
 
   if (with_behind_mode)
     {
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to