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:
Enrico Weigelt, metux IT consult 2025-02-25 15:04:06 +01:00
parent 52cf7135f2
commit 662dc6e9f3
2 changed files with 8 additions and 8 deletions

View File

@ -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 {

View File

@ -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 */