X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/a7be12a4e68fcaaa92f81a394bc316a592ec6270..bc86734f505f763ba5d69c6b8e62a1443b5154b6:/drivers/displays/tft/colors.h diff --git a/drivers/displays/tft/colors.h b/drivers/displays/tft/colors.h index eb39265..22f996a 100644 --- a/drivers/displays/tft/colors.h +++ b/drivers/displays/tft/colors.h @@ -91,4 +91,10 @@ #define COLOR_THEME_DEFAULT_SHADOW COLOR_THEME_LIMEGREEN_SHADOW #define COLOR_THEME_DEFAULT_ACCENT COLOR_THEME_LIMEGREEN_ACCENT +uint16_t colorsRGB24toRGB565 ( uint8_t r, uint8_t g, uint8_t b ); +uint32_t colorsRGB565toBGRA32 ( uint16_t color ); +uint16_t colorsBGR2RGB ( uint16_t color ); +uint16_t colorsDim ( uint16_t color, uint8_t intensity ); +uint16_t colorsBlend ( uint16_t bgColor, uint16_t foreColor, uint8_t intensity ); + #endif