color palette saving

for now saves palette colours as their hex value. This will miss out on the alpha value.
This commit is contained in:
marauder2k7 2025-01-23 14:46:05 +00:00
parent 46192c3709
commit 48ca98ca84
2 changed files with 99 additions and 11 deletions

View file

@ -550,6 +550,7 @@ inline void ColorI::set(const String& hex)
red = (U8)(convertFromHex(redString));
green = (U8)(convertFromHex(greenString));
blue = (U8)(convertFromHex(blueString));
alpha = 255;
}
inline S32 ColorI::convertFromHex(const String& hex) const