Added color macros for buttons
This commit is contained in:
@@ -27,6 +27,11 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
constexpr SDL_Color COLOR_WHITE = {255, 255, 255, 255};
|
||||||
|
constexpr SDL_Color COLOR_RED = {255, 0, 0, 255};
|
||||||
|
constexpr SDL_Color COLOR_ORANGE = {255, 127, 0, 255};
|
||||||
|
constexpr SDL_Color COLOR_BLUE = {0, 0, 255, 255};
|
||||||
|
|
||||||
class Button {
|
class Button {
|
||||||
public:
|
public:
|
||||||
enum State {
|
enum State {
|
||||||
|
|||||||
Reference in New Issue
Block a user