Guide#
How CEUI works and how to use every part of it. Start with the frame loop; the rest can be read in any order.
Immediate mode, where state lives, when frames run, and how to quit.
The key table, spatial navigation, ids and reading keys yourself.
Stacking, columns, heights, panels and scroll areas.
Every widget with a short example and a screenshot.
Wrapped text, labels, captions and ui_fmt.
Text fields, input modes, the key map and the text area.
Virtual rows, headers, columns and paging.
A row of tabs and the content under it.
Modals, messages, confirmations, menus, selects and toasts.
Sprites and your own graphx drawing in a canvas.
Style records, states, palette slots, fonts and metrics.
The four built-in themes and writing your own.
Building a CEUI program as an app, and the header workaround.
Buffer sizes, limits and timings you can change with -D.
Measured sizes, RAM and frame times, and where the time goes.
Common problems and how to fix them.
Golden screenshots of your own program in an emulator.