https://gitlab.synchro.net/main/sbbs/-/commit/5cab8d98934627ee85d65800
Added Files:
src/syncterm/scripts/ui.wren ui_button.wren ui_button_test.wren ui_help.wren ui_help_test.wren ui_input.wren ui_input_test.wren ui_popup.wren ui_popup_test.wren
Modified Files:
src/syncterm/Wren.adoc src/syncterm/scripts/ui_app.wren ui_demo.wren ui_draw.wren ui_draw_test.wren ui_list.wren ui_list_test.wren ui_pane.wren ui_style.wren ui_style_test.wren ui_widget.wren wrentest.wren src/syncterm/wren_bind.c
Log Message:
SyncTERM: Wren UI — popups, buttons, input, help, theme cascade
Extends the pure-Wren UI library with TextInput, Button, Help, and Popup/Alert/Confirm/Prompt/PopStatus. Adds the inactive theme cascade
(UIFC: white-on-cyan behind a modal), drop shadows, double-line
title-bar frames, and [?]/[X] corner buttons on Pane. App now
captures the screen as a backdrop, manages a modal stack, and exposes
popStatus + F1 showHelp. Widgets skip redraw when the cached surface
already matches the active/inactive layer state, and Container adds
spatial Up/Down focus traversal. ui.wren re-exports the public
classes for one-line consumer imports.
Wren.adoc gets a "Built-in UI Library" reference chapter covering App, Widget/Container, Pane, ListView, TextInput, Button, the Popup family,
Help, Theme/Style/Glyphs, Painter, and the demo gallery. Also fixes a pre-existing section-level jump in the Hook Events chapter.
REPL.printTrace_ now fires WREN_ERROR_RUNTIME so caught-fiber errors
land on stderr like uncaught ones do.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net