aboutsummaryrefslogtreecommitdiff
path: root/generic/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Types.h')
-rw-r--r--generic/Types.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/generic/Types.h b/generic/Types.h
index 52f9397..73bfd4a 100644
--- a/generic/Types.h
+++ b/generic/Types.h
@@ -158,9 +158,8 @@ typedef struct {
#define ZN_CONFIG_LEADER_ANCHORS 28
#define ZN_CONFIG_JOIN_STYLE 29
#define ZN_CONFIG_CAP_STYLE 30
-#define ZN_CONFIG_GRADIENT_GEOM 31
-#define ZN_CONFIG_GRADIENT_COLOR 32
-#define ZN_CONFIG_WINDOW 33
+#define ZN_CONFIG_GRADIENT 31
+#define ZN_CONFIG_WINDOW 32
#define ZN_DRAW_FLAG 1 << 0
#define ZN_COORDS_FLAG 1 << 1
@@ -268,9 +267,16 @@ typedef int ReliefStyle; /* Keep it an int to keep Tk happy */
#define RELIEF_RIDGE TK_RELIEF_RIDGE
/*
* Number of steps for relief drawing. This translate in
- * RELIEF_STEPS*2+1 color steps in the color gradient.
+ * RELIEF_STEPS*2+1 color shades in the color gradient.
*/
-#define RELIEF_STEPS 6
+#define RELIEF_STEPS 6
+#define DEFAULT_NUM_SHADES 6
+
+/*
+ * Types of gradients.
+ */
+#define ZN_AXIAL_GRADIENT 0
+#define ZN_RADIAL_GRADIENT 1
/*
* Type and constant values for automatic alignments.