mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-28 01:58:11 -07:00
Add VGM color settings backend
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user