From 231c260bc67e28e1f46f4c7e8509961c790f22ec Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Fri, 12 Jun 2026 09:43:47 +0200 Subject: [PATCH] Added uniform constants for neater components. --- src/simulator/gui.odin | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/simulator/gui.odin b/src/simulator/gui.odin index 9001087..4bcff9b 100644 --- a/src/simulator/gui.odin +++ b/src/simulator/gui.odin @@ -13,6 +13,15 @@ DISPLAY_PERCENT :: 0.30 CONTROL_BAR_H :: f32(50) STATUS_BAR_H :: f32(30) +// ─── Layout constants ─────────────────────────────────────────────────── +PANEL_PADDING :: 10 +PANEL_HEADER :: 24 +BUTTON_HEIGHT :: 30 +BUTTON_WIDTH :: 120 +DROP_FONT_SIZE :: 20 +KEYPAD_FONT_SIZE :: 18 + + Layout :: struct { control_bar : rl.Rectangle, left_panel : rl.Rectangle,