aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index 717435b..7d487d5 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -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;