reaktor_menubar takes menus of entries: icons, shortcuts, checks, disabled entries, separators, submenus and rows drawn by the app. Keyboard: Tab to a title, Enter opens it, arrows walk it and move between menus, Escape closes one level. On the desktop each open menu is an SDL popup-menu window and can reach past the main window; on the web, or with --popups inline, it is an in-window popup fitted inside the window. Settings, the tray and popup windows become modules with _none twins (REAKTOR_SETTINGS, REAKTOR_TRAY, REAKTOR_POPUP_WINDOWS). Property chevrons line up with the text. Showcase and notepad use the declared menu bar; launchtest gains menu-keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
569 B
C
10 lines
569 B
C
#include "internal.h"
|
|
|
|
const char *reaktor_setting(const char *key) { (void)key; return NULL; }
|
|
void reaktor_setting_set(const char *key, const char *v) { (void)key; (void)v; }
|
|
void reaktor_settings_save(void) {}
|
|
void reaktor_settings_clear(void) {}
|
|
void reaktor_settings_free(void) {}
|
|
void reaktor_window_restore(App *app) { (void)app; }
|
|
void reaktor_window_remember(App *app) { (void)app; }
|