summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-08 14:40:24 +0900
committerAdam Malczewski <[email protected]>2026-06-08 14:40:24 +0900
commitb0534c0b53fc116521245c14b05d0120a1cded89 (patch)
tree38218188629184347596c1911575aa7b38aabcc2 /src/config.h
parent0d154d253110dbe9e27790354c755f50fe47dd22 (diff)
downloadstudy-player-cyberdeck.tar.gz
study-player-cyberdeck.zip
ui: add X-axis positioning to all layout elementscyberdeck
- UILayout gains titleX, statusX, helpX, smartPlayX, secNavX - All elements freely draggable in both X and Y in Layout editor - draw_text_centered() now takes centerX parameter - section nav positions relative to secNavX
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index c4300d1..57824b5 100644
--- a/src/config.h
+++ b/src/config.h
@@ -2,17 +2,22 @@
typedef struct {
float titleY;
+ float titleX;
float barY;
float barHeight;
float barWidth;
float barX;
float statusY;
+ float statusX;
float btnRadius;
float helpY;
+ float helpX;
float btnY;
float btnCenterX;
float smartPlayY;
+ float smartPlayX;
float secNavY;
+ float secNavX;
} UILayout;
int config_load(const char *exePath, UILayout *layout);