palette viewer and editor

This commit is contained in:
scawful
2022-09-11 14:23:39 -05:00
parent 904166ee25
commit cfb84481ed
8 changed files with 140 additions and 10 deletions

View File

@@ -47,6 +47,10 @@ struct SNESColor {
void setSNES(uint16_t);
void setTransparent(bool t) { transparent = t; }
auto RGB() {
return ImVec4(rgb.x / 255, rgb.y / 255, rgb.z / 255, rgb.w);
}
bool transparent = false;
uint16_t snes = 0;
ImVec4 rgb;