make rgb_color_t smaller

rgb_color_t was 5 bytes, now it's 4 again.
big arrays holding colors are going to be smaller.
This commit is contained in:
Aaron Gyes 2019-09-22 21:16:30 -07:00
parent 91c4dad812
commit e6c72f74a8

View File

@ -17,7 +17,7 @@ struct color24_t {
class rgb_color_t { class rgb_color_t {
// Types // Types
enum { type_none, type_named, type_rgb, type_normal, type_reset }; enum { type_none, type_named, type_rgb, type_normal, type_reset };
unsigned char type : 4; unsigned char type : 3;
// Flags // Flags
enum { enum {