summaryrefslogtreecommitdiff
path: root/src/ui_elements/UI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_elements/UI.h')
-rw-r--r--src/ui_elements/UI.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ui_elements/UI.h b/src/ui_elements/UI.h
index d3af014..8754329 100644
--- a/src/ui_elements/UI.h
+++ b/src/ui_elements/UI.h
@@ -9,6 +9,11 @@ static const float SCROLL_SENC = 10;
static const float TAB_WIDTH = 4;
static const int PADDING = 10;
+static const int HEADER_FONT_SIZE = 50;
+static const int EDITOR_PADDING = 3;
+static const int BORDER = 2;
+static const int FOOTER_HEIGHT = 30;
+
// Sure about this value
static const int MIN_FONT_SIZE = 10;
// Unsure about this value
@@ -32,6 +37,15 @@ typedef struct {
void UpdateButton(Button *btn);
void DrawButton(Button *btn, Rectangle *location);
+// ========== PAGE VIEW ==========
+
+static const int PAGE_DOTS_SPACING = 15;
+static const int PAGE_DOTS_PADDING = 15;
+static const int PAGE_DOTS_RADIUS = 3;
+static const char PAGE_DOTS_TRANSPARENCY = (char)192;
+
+void DrawPageView(int y, unsigned int pages, unsigned int current_page);
+
// ========== TEXT EDITOR ==========
static const size_t DEFAULT_TEXT_NODE_SIZE = 256;