update widgets, add copy paste buffer

This commit is contained in:
2026-02-26 00:04:02 -05:00
parent 68235b57ce
commit 7a5c1c5159
5 changed files with 365 additions and 49 deletions

View File

@@ -79,3 +79,9 @@ int32_t platform_poll_menu_command(PlatformWindow *window);
// Returns accumulated input events since last call, then clears the buffer.
PlatformInputEvents platform_get_input_events(PlatformWindow *window);
// Clipboard operations (null-terminated UTF-8 strings).
// platform_clipboard_set copies text to the system clipboard.
// platform_clipboard_get returns a pointer to a static buffer (valid until next call), or nullptr.
void platform_clipboard_set(const char *text);
const char *platform_clipboard_get();