From a3adeee4ca08764b8e78282c4b1cd57a0d830c0d Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 25 Jun 2001 11:20:03 +0000 Subject: Modification des gradients --- generic/Types.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'generic/Types.h') 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. -- cgit v1.1