From 60c084ce1f9b1ff237b275ecbc89634468660077 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Mon, 8 Jun 2026 13:47:55 +0900 Subject: ui: add tab bar, layout editor with drag-to-reposition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- src/layout_editor.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/layout_editor.h (limited to 'src/layout_editor.h') 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); -- cgit v1.2.3