diff options
| author | Adam Malczewski <[email protected]> | 2026-06-08 13:47:55 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-08 13:47:55 +0900 |
| commit | 60c084ce1f9b1ff237b275ecbc89634468660077 (patch) | |
| tree | d7cbabd27c6352f25770c00a677397825bc1f29a /src/layout_editor.h | |
| parent | 2a31f14a71b207e910c932f1328ce119f7cd6981 (diff) | |
| download | study-player-60c084ce1f9b1ff237b275ecbc89634468660077.tar.gz study-player-60c084ce1f9b1ff237b275ecbc89634468660077.zip | |
ui: add tab bar, layout editor with drag-to-reposition
- GuiTabBar from raygui v5.0 for Player/Layout tab switching
- Layout tab: 5 draggable element placeholders (Title, Bar, Status,
Play button, Help) — press+hold+drag to reposition
- Auto-save config file on tab switch from Layout back to Player
- config_save() added to config module
- raygui include path added to Makefile, warnings suppressed via
#pragma for third-party header
Diffstat (limited to 'src/layout_editor.h')
| -rw-r--r-- | src/layout_editor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layout_editor.h b/src/layout_editor.h new file mode 100644 index 0000000..a05cca7 --- /dev/null +++ b/src/layout_editor.h @@ -0,0 +1,5 @@ +#pragma once +#include "config.h" + +void layout_editor_init(void); +void layout_editor_draw(const char *exePath, UILayout *layout); |
