ServiceMenu: ja es funcional en totes les seccions del programa
This commit is contained in:
@@ -38,7 +38,7 @@ struct Color
|
||||
{
|
||||
Uint8 r, g, b;
|
||||
constexpr Color() : r(0), g(0), b(0) {}
|
||||
explicit constexpr Color(int red, int green, int blue) : r(red), g(green), b(blue) {}
|
||||
explicit constexpr Color(Uint8 red, Uint8 green, Uint8 blue) : r(red), g(green), b(blue) {}
|
||||
|
||||
constexpr Color getInverse() const { return Color(255 - r, 255 - g, 255 - b); }
|
||||
Color lighten(int amount = 50) const
|
||||
|
||||
Reference in New Issue
Block a user