aboutsummaryrefslogtreecommitdiffstats
path: root/surfaces/screen.c
Commit message (Collapse)AuthorAgeFilesLines
* Size to the module what is the module's (Pure 027's 4f-3a): timers grow to ↵HEADmastereunhhu38 hours1-7/+14
| | | | its inputs, the focus marks to its views, the accessibility tree's children to their count; a table shows its first VEGA_COLUMNS (64) columns, Vega's own count
* Show views of any value (Pure 027's 4e): a list view is a list or a table (a ↵eunhhu39 hours1-4/+32
| | | | list state as it is a table of its record's fields), a list in a cell shows how many items it holds, bytes their hex digits, on every surface
* Send every input as a message (Pure 027's 4d): keys, text, timers, frames ↵eunhhu41 hours1-17/+33
| | | | and pointing go to the inputs bound to them; a key's press then its release when a message takes it; vega_frame sends dt 1/60 to the frame input, deferring the save as frames were; a table's pointer is the input pointing at it, sent the item's position; a key's handler found by its input's number
* Show an i64 with every digit on every surfaceeunhhu2026-09-301-0/+7
| | | | | | vega_text reads an i64 view or column as an integer and prints all of its digits, so an ID past 2^53 shows as it is on the CLI, the TUI, speech and the web surface, where a number would round.
* Show a bool as true or false, and make the examples' flags boolseunhhu2026-09-301-2/+5
| | | | | | | | | | | | | | aup and Pure now have a bool (Pure 016): a view or column may be one. vega_text writes it as true or false, as a string's interpolation does, so every surface shows the same words: the CLI, the TUI's cells, speech and the web surface's JSON (a value's text) and page. An app that wants other words picks them with a conditional (if t.done { "done" } else { "" }). The flags of the examples are bools: todo's done and urgent, today's done, the stopwatch's running. vega.when takes the bool as it took the number. bools checks a bool field and a bool column on the CLI, the TUI, speech and the web surface: true and false, never 1 and 0.
* Wait for timers on the monotonic clock; events still see the wall clockeunhhu2026-09-291-7/+13
| | | | | | | | | | | | | The terminal, the pixel surfaces and the web page reckoned when a timer was due on the wall clock: set back, a timer waited until the clock came again to the tick it had waited for (Pure's review 004). vega_clock is the monotonic clock; timers are due on it, and a tick sets the time its event sees from the wall clock (vega_now), as before. check.py's clock_set_back runs a timer of 20 ms in the terminal with the wall clock set back an hour 0.2 s in (Pure's build/clock-back.so, an LD_PRELOAD of clock_gettime): 40 ticks in 0.8 s, where Vega before this stops at 9. make check passes it --clock-back.
* Name Vega's parts: lib/, surfaces/ and symbols/eunhhu2026-09-271-0/+229
src/ held two parts, the surfaces that show modules to people and the symbol format with its CPU and GPU drawing. As in Pure (design 009), top level directories are now the parts, and the README says what each builds.