21 lines
766 B
Diff
21 lines
766 B
Diff
--- src/Utility/Colour.h 2020-02-19 07:13:08.000000000 +0100
|
|
+++ - 2020-02-23 02:52:05.896845977 +0100
|
|
@@ -11,7 +11,7 @@
|
|
|
|
// Constructors
|
|
ColRGBA() = default;
|
|
- ColRGBA(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255, char blend = -1, short index = -1) :
|
|
+ ColRGBA(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255, signed char blend = -1, short index = -1) :
|
|
r{ r },
|
|
g{ g },
|
|
b{ b },
|
|
@@ -22,7 +22,7 @@
|
|
ColRGBA(const ColRGBA& c) : r{ c.r }, g{ c.g }, b{ c.b }, a{ c.a }, index{ c.index } {}
|
|
|
|
// Functions
|
|
- void set(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255, char blend = -1, short index = -1)
|
|
+ void set(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255, signed char blend = -1, short index = -1)
|
|
{
|
|
this->r = r;
|
|
this->g = g;
|