mi: move *_VISUALS defines into consumer source file
These are only needed inside one .c source, so no need to keep thm exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1498>
This commit is contained in:
parent
98104c969d
commit
27babe0334
|
@ -39,6 +39,11 @@
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
#include "micmap.h"
|
#include "micmap.h"
|
||||||
|
|
||||||
|
#define ALL_VISUALS (StaticGrayMask|GrayScaleMask|StaticColorMask|\
|
||||||
|
PseudoColorMask|TrueColorMask|DirectColorMask)
|
||||||
|
#define LARGE_VISUALS (TrueColorMask|DirectColorMask)
|
||||||
|
#define SMALL_VISUALS (StaticGrayMask|GrayScaleMask|StaticColorMask|PseudoColorMask)
|
||||||
|
|
||||||
DevPrivateKeyRec micmapScrPrivateKeyRec;
|
DevPrivateKeyRec micmapScrPrivateKeyRec;
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
15
mi/micmap.h
15
mi/micmap.h
|
@ -49,19 +49,4 @@ extern _X_EXPORT Bool miInitVisuals(VisualPtr *, DepthPtr *, int *, int *,
|
||||||
#define TrueColorMask (1 << TrueColor)
|
#define TrueColorMask (1 << TrueColor)
|
||||||
#define DirectColorMask (1 << DirectColor)
|
#define DirectColorMask (1 << DirectColor)
|
||||||
|
|
||||||
#define ALL_VISUALS (StaticGrayMask|\
|
|
||||||
GrayScaleMask|\
|
|
||||||
StaticColorMask|\
|
|
||||||
PseudoColorMask|\
|
|
||||||
TrueColorMask|\
|
|
||||||
DirectColorMask)
|
|
||||||
|
|
||||||
#define LARGE_VISUALS (TrueColorMask|\
|
|
||||||
DirectColorMask)
|
|
||||||
|
|
||||||
#define SMALL_VISUALS (StaticGrayMask|\
|
|
||||||
GrayScaleMask|\
|
|
||||||
StaticColorMask|\
|
|
||||||
PseudoColorMask)
|
|
||||||
|
|
||||||
#endif /* _MICMAP_H_ */
|
#endif /* _MICMAP_H_ */
|
||||||
|
|
Loading…
Reference in New Issue