File diff r28811:c7d0936f4cf0 → r28812:d6d9465e39a0
src/palette_func.h
Show inline comments
 
@@ -39,11 +39,8 @@ inline bool IsValidColours(Colours colou
 

	
 
TextColour GetContrastColour(uint8_t background, uint8_t threshold = 128);
 

	
 
/**
 
 * All 16 colour gradients
 
 * 8 colours per gradient from darkest (0) to lightest (7)
 
 */
 
extern byte _colour_gradient[COLOUR_END][8];
 
byte GetColourGradient(Colours colour, uint8_t shade);
 
void SetColourGradient(Colours colour, uint8_t shade, byte palette_colour);
 

	
 
/**
 
 * Return the colour for a particular greyscale level.