diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Types.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/generic/Types.h b/generic/Types.h index 27d6a1a..0878351 100644 --- a/generic/Types.h +++ b/generic/Types.h @@ -151,30 +151,30 @@ typedef struct { */ #define ZN_CONFIG_END 0 #define ZN_CONFIG_COLOR 1 -#define ZN_CONFIG_BOOL 2 -#define ZN_CONFIG_PATTERN 3 -#define ZN_CONFIG_TEXT 4 -#define ZN_CONFIG_FONT 5 -#define ZN_CONFIG_BORDER 6 -#define ZN_CONFIG_RELIEF 7 -#define ZN_CONFIG_DIM 8 -#define ZN_CONFIG_PRI 9 -#define ZN_CONFIG_JUSTIFY 10 -#define ZN_CONFIG_AUTO_JUSTIFY 11 -#define ZN_CONFIG_LINE_END 12 -#define ZN_CONFIG_LABEL_FORMAT 13 -#define ZN_CONFIG_LINE_STYLE 14 -#define ZN_CONFIG_LINE_SHAPE 15 -#define ZN_CONFIG_ITEM 16 -#define ZN_CONFIG_ANGLE 17 -#define ZN_CONFIG_INT 18 -#define ZN_CONFIG_UINT 19 -#define ZN_CONFIG_POINT 20 -#define ZN_CONFIG_RECT 21 -#define ZN_CONFIG_PATTERNS 22 -#define ZN_CONFIG_ANCHOR 23 -#define ZN_CONFIG_TAGS 24 -#define ZN_CONFIG_POINTS 25 +#define ZN_CONFIG_COLORS 2 +#define ZN_CONFIG_BOOL 3 +#define ZN_CONFIG_PATTERN 4 +#define ZN_CONFIG_PATTERNS 5 +#define ZN_CONFIG_TEXT 6 +#define ZN_CONFIG_FONT 7 +#define ZN_CONFIG_BORDER 8 +#define ZN_CONFIG_RELIEF 9 +#define ZN_CONFIG_DIM 10 +#define ZN_CONFIG_PRI 11 +#define ZN_CONFIG_JUSTIFY 12 +#define ZN_CONFIG_AUTO_JUSTIFY 13 +#define ZN_CONFIG_LINE_END 14 +#define ZN_CONFIG_LABEL_FORMAT 15 +#define ZN_CONFIG_LINE_STYLE 16 +#define ZN_CONFIG_LINE_SHAPE 17 +#define ZN_CONFIG_ITEM 18 +#define ZN_CONFIG_ANGLE 19 +#define ZN_CONFIG_INT 20 +#define ZN_CONFIG_UINT 21 +#define ZN_CONFIG_POINT 22 +#define ZN_CONFIG_RECT 23 +#define ZN_CONFIG_ANCHOR 24 +#define ZN_CONFIG_TAGS 25 #define ZN_CONFIG_MAP_INFO 26 #define ZN_CONFIG_IMAGE 27 #define ZN_CONFIG_LEADER_ANCHORS 28 @@ -333,7 +333,7 @@ typedef struct { #define ZnTextWidth(font, text, len) (Tk_TextWidth(font, text, len)) #define ZnMalloc(size) ((void *)ckalloc(size)) #define ZnFree(ptr) (ckfree((char *)(ptr))) -#define ZnRealloc(ptr, size) (ckrealloc((void *)(ptr), size)) +#define ZnRealloc(ptr, size) ((void *)ckrealloc((void *)(ptr), size)) #define ZnWarning(msg) (fprintf(stderr, "%s\n", (msg))) #define ZnUnspecifiedPattern None |