(1833) mi: move StaticGrayMask and GrayScaleMask into micmap.c
micmap.c is the only consumer of these, so move them into there, instead of maintaining them in the public API w/o any practical need. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									d566267b81
								
							
						
					
					
						commit
						e46b3d4773
					
				| 
						 | 
					@ -44,6 +44,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MIN_TRUE_DEPTH  6
 | 
					#define MIN_TRUE_DEPTH  6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define StaticGrayMask  (1 << StaticGray)
 | 
				
			||||||
 | 
					#define GrayScaleMask   (1 << GrayScale)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ALL_VISUALS     (StaticGrayMask|GrayScaleMask|StaticColorMask|\
 | 
					#define ALL_VISUALS     (StaticGrayMask|GrayScaleMask|StaticColorMask|\
 | 
				
			||||||
                         PseudoColorMask|TrueColorMask|DirectColorMask)
 | 
					                         PseudoColorMask|TrueColorMask|DirectColorMask)
 | 
				
			||||||
#define LARGE_VISUALS   (TrueColorMask|DirectColorMask)
 | 
					#define LARGE_VISUALS   (TrueColorMask|DirectColorMask)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,8 +39,6 @@ extern _X_EXPORT Bool miInitVisuals(VisualPtr *, DepthPtr *, int *, int *,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAX_PSEUDO_DEPTH	10
 | 
					#define MAX_PSEUDO_DEPTH	10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define StaticGrayMask	(1 << StaticGray)
 | 
					 | 
				
			||||||
#define GrayScaleMask	(1 << GrayScale)
 | 
					 | 
				
			||||||
#define StaticColorMask	(1 << StaticColor)
 | 
					#define StaticColorMask	(1 << StaticColor)
 | 
				
			||||||
#define PseudoColorMask	(1 << PseudoColor)
 | 
					#define PseudoColorMask	(1 << PseudoColor)
 | 
				
			||||||
#define TrueColorMask	(1 << TrueColor)
 | 
					#define TrueColorMask	(1 << TrueColor)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue