Add almost matching CFaceplateDecoration

Former-commit-id: 0a0483489c
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-21 16:48:25 +03:00
parent 71fd2e5321
commit 0c3d5d2a07
7 changed files with 91 additions and 27 deletions

View File

@@ -26,6 +26,8 @@ public:
mA = a;
}
CColor(CColor rgb, float a) : mRgba((rgb.GetColor_u32() & 0xffffff00) | CCast::ToUint8(a * 255.f)) {}
void Set(float r, float g, float b, float a);
void Set(uchar r, uchar g, uchar b, uchar a = 255) {
mR = r;