Hi!
It's known, that C coders usually uses #defines instead of values
directly for more portability and readability.
And of course the #defines should be on the right place.
So I post this patch (look in the attachment) to this ML hoping to get it
in, because I think this _one_ #define is at <ggi/types.h> more useful
than in any GGI-extension or GGI-demo.
Christoph Egger
E-Mail: [EMAIL PROTECTED]
--- libggi/include/ggi/types.h.orig Thu Dec 16 20:13:09 1999
+++ libggi/include/ggi/types.h Fri Dec 17 14:52:07 1999
@@ -62,6 +62,7 @@
typedef struct { uint16 size; ggi_color *data; } ggi_clut;
#define GGI_COLOR_PRECISION 16 /* 16 bit per R,G, B value */
+#define GGI_COLOR_MAX_VAL 0xFFFF
/*
* Graphtypes