Pad/internal/editor
Greg Pomerantz 8739bae517 refactor: unified Element interface with Draw method and Container type
- Add Draw(gtx, r *Renderer) to Element interface
- Add Container type that implements Element and holds []Element children
- Leaf types (Label, Icon, Button) implement Draw themselves
- Single recursive drawElement function in Renderer — no switch/case
- Remove StatusBar/BottomBar — replaced by Container
- Remove shaper.go — no longer needed with Gio material labels
- Simplify main.go — scale via ScaleProvider interface
- 5 files changed, shaper.go deleted
2026-05-18 11:25:43 -04:00
..
logic.go fix: remove duplicate scale storage, read from State via ScaleProvider interface 2026-05-17 10:59:29 -04:00
state.go refactor: unified Element interface with Draw method and Container type 2026-05-18 11:25:43 -04:00