mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: move SHCO struct declaration out of public header
Not used by any external module/driver, so no need to keep it in public header. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult .
parent
083e7b6b30
commit
a153928b0b
@@ -20,6 +20,14 @@
|
||||
#define CM_AllAllocated 2
|
||||
#define CM_BeingCreated 4
|
||||
|
||||
/* SHCO -- a shared color for a PseudoColor cell. Used with AllocColorPlanes.
|
||||
* DirectColor maps always use the first value (called red) in the structure.
|
||||
* What channel they are really talking about depends on which map they
|
||||
* are in. */
|
||||
typedef struct {
|
||||
SHAREDCOLOR *red, *green, *blue;
|
||||
} SHCO;
|
||||
|
||||
/* color map entry */
|
||||
typedef struct _CMEntry {
|
||||
union {
|
||||
|
||||
@@ -62,12 +62,4 @@ typedef struct {
|
||||
unsigned short red, green, blue;
|
||||
} LOCO;
|
||||
|
||||
/* SHCO -- a shared color for a PseudoColor cell. Used with AllocColorPlanes.
|
||||
* DirectColor maps always use the first value (called red) in the structure.
|
||||
* What channel they are really talking about depends on which map they
|
||||
* are in. */
|
||||
typedef struct {
|
||||
SHAREDCOLOR *red, *green, *blue;
|
||||
} SHCO;
|
||||
|
||||
#endif /* COLORMAP_H */
|
||||
|
||||
Reference in New Issue
Block a user