single-pixel-buffer: new protocol impl

fixes #6624
This commit is contained in:
Vaxry
2024-09-30 00:57:51 +01:00
parent 6649255d54
commit 488efab636
5 changed files with 209 additions and 1 deletions

View File

@@ -8,8 +8,9 @@ class CColor {
CColor(float r, float g, float b, float a);
CColor(uint64_t);
float r = 0, g = 0, b = 0, a = 1.f;
float r = 0, g = 0, b = 0, a = 1.f;
// AR32
uint32_t getAsHex() const;
CColor operator-(const CColor& c2) const {