Thinking in Immediate: ImGUI
summary
Explains how immediate‑mode GUIs model state with concrete patterns: using generators/closures to make stateful widgets and trackers returning (changed, new_value) so you feed back state each frame; implements multi‑selection via a boolean matrix and arwhere conversion, fixes duplicate IDs with the “#” hash suffix, and models linked/mute channel logic by swapping active/inactive arrays. Covers error handling by processing data before GUI regions, simple frame‑based timers (count frames not wall time), and 2D drawing via ImGui draw lists for animation.
AI-written summary · about
chapters (18)
- 0:00Start
- 11:49Basic Structure of an Un-Gui Application
- 24:15How Do We Use Trackers
- 26:13Composer Ui
- 31:25The Blueprint of the Selection Grid
- 33:30How To Fill Items in a Grid
- 34:11Add Items Column by Column Using the Columns Api
- 34:49Columns Api
- 36:51How To Make a Select Process
- 39:40Demo
- 43:38Error Handling
- 49:22How To Model Shared States
- 51:23How To Make a Checkbox
- 52:11Model the States
- 55:19How To Create the Sliders
- 55:58Sliders
- 56:21Vertical Slider
- 57:25Calc Text Size
related talks
04mDear imgui
31mMakepad - Rethinking Web UI's with WebGL
01h 38mQt GraphicsView in Depth
20mLivelits: Filling Typed Holes with Live GUIs
01h 08mDesigning UIs with Qt Quick 1/6 - Design Workflow Part 1
01h 10mDesigning UIs with Qt Quick 3/6, Visual Elements
11mSubsequently: Telling stories with pictures makes programs
24mPlay with your code
