wip(0.S2): migrate - a var nothing writes becomes a let; a state is keyed by its module, directory or program, so every program's plan agrees; paths normalized; program states named SceneDemoState / scene_demo_st; the LSP reads state, mut and entry/handler parameters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3eda72e8c2
commit
5ffe50ed02
463 changed files with 72045 additions and 67421 deletions
|
|
@ -6,11 +6,11 @@ import "ludic.ui"
|
|||
import "ui_boxes_parts/Boxes.ludic"
|
||||
program UiBoxes {
|
||||
numbers float
|
||||
entry (ui_st: mut UiState) {
|
||||
ui_backend(ui_st, new UiBackend)
|
||||
ui_show(ui_st, "Boxes", null, 0.0, 0.0, 400.0, 600.0)
|
||||
let root: UiNode = ui_nodes(ui_st, "Boxes", null)
|
||||
ui_place(ui_st, root, 0.0, 0.0, 400.0, 600.0)
|
||||
entry {
|
||||
ui_backend(new UiBackend)
|
||||
ui_show("Boxes", null, 0.0, 0.0, 400.0, 600.0)
|
||||
let root: UiNode = ui_nodes("Boxes", null)
|
||||
ui_place(root, 0.0, 0.0, 400.0, 600.0)
|
||||
let page = root.children[0]
|
||||
let list = page.children[0].children[1]
|
||||
let line = page.children[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue