Add VGM color settings backend

This commit is contained in:
Willy-JL
2024-03-07 21:34:22 +00:00
parent 99ce5a30ce
commit bf045ccf51
4 changed files with 55 additions and 0 deletions
+9
View File
@@ -25,6 +25,15 @@ int hsvcmp(const HsvColor* a, const HsvColor* b);
void hsv2rgb(const HsvColor* hsv, RgbColor* rgb);
void rgb2hsv(const RgbColor* rgb, HsvColor* hsv);
typedef union {
uint16_t value;
struct {
uint8_t r : 5;
uint8_t g : 6;
uint8_t b : 5;
};
} Rgb565Color;
#ifdef __cplusplus
}
#endif