[gimp] app: change the enum values of internal paint modes to 1000, 1001 etc.



commit f65bef9c11dabe3f3d5ae31ff59c32f865460fd9
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 19 21:28:29 2015 +0200

    app: change the enum values of internal paint modes to 1000, 1001 etc.
    
    and separate them from the PDB-available ones with a comment.

 app/core/core-enums.h |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/app/core/core-enums.h b/app/core/core-enums.h
index 81e20f8..a19f2fc 100644
--- a/app/core/core-enums.h
+++ b/app/core/core-enums.h
@@ -162,9 +162,11 @@ typedef enum
   GIMP_GRAIN_EXTRACT_MODE,   /*< desc="Grain extract"        >*/
   GIMP_GRAIN_MERGE_MODE,     /*< desc="Grain merge"          >*/
   GIMP_COLOR_ERASE_MODE,     /*< desc="Color erase"          >*/
-  GIMP_ERASE_MODE,           /*< pdb-skip, desc="Erase"      >*/
-  GIMP_REPLACE_MODE,         /*< pdb-skip, desc="Replace"    >*/
-  GIMP_ANTI_ERASE_MODE       /*< pdb-skip, desc="Anti erase" >*/
+
+  /* internal modes, not available to the PDB */
+  GIMP_ERASE_MODE      = 1000, /*< pdb-skip, desc="Erase"      >*/
+  GIMP_REPLACE_MODE    = 1001, /*< pdb-skip, desc="Replace"    >*/
+  GIMP_ANTI_ERASE_MODE = 1002  /*< pdb-skip, desc="Anti erase" >*/
 } GimpLayerModeEffects;
 
 


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