Better color typing
This commit is contained in:
7
colors.h
7
colors.h
@@ -2,5 +2,8 @@
|
||||
|
||||
#include "color.h"
|
||||
|
||||
constexpr RgbColor kBlack = {{{{{0x0000, 0x0000, 0x0000}}}}};
|
||||
constexpr RgbColor kWhite = {{{{{0xffff, 0xffff, 0xffff}}}}};
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wglobal-constructors"
|
||||
const RgbColor kBlack = {{{{{0x0000, 0x0000, 0x0000}}}}};
|
||||
const RgbColor kWhite = {{{{{0xffff, 0xffff, 0xffff}}}}};
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
Reference in New Issue
Block a user