Added color macros for buttons

This commit is contained in:
2015-08-23 04:54:51 +10:00
parent 93a955caf9
commit 540f646209
+5
View File
@@ -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 {