diff options
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include "gameCommon.h" #define UI_BUTTON_NAME_MAX 50 +#define UI_BUTTON_DEFAULT_FONT_SIZE 20 #ifndef UI_H #define UI_H @@ -10,10 +11,13 @@ typedef struct TexturedButton { Rectangle rect; char message[UI_BUTTON_NAME_MAX]; + size_t messageLength; Color backgroundColor; Color foregroundColor; + int fontSize; + bool isPressed; } TexturedButton; |