A simple, high performance text editor.
Go to file
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
.qwen Add ShapeText/DrawShapedText: single shaper call, zero-call drawing 2026-05-12 12:06:28 -04:00
cmd/pad refactor: unified Element interface with Draw method and Container type 2026-05-18 11:25:43 -04:00
doc Document background drawing with clips — use push/pop, not op.Record macro 2026-05-09 19:17:56 -04:00
internal refactor: unified Element interface with Draw method and Container type 2026-05-18 11:25:43 -04:00
.DS_Store Add drawPng function to Renderer for PNG icon rendering 2026-05-10 06:26:29 -04:00
go.mod fix: remove duplicate scale storage, read from State via ScaleProvider interface 2026-05-17 10:59:29 -04:00
go.sum Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
pad fix: remove duplicate scale storage, read from State via ScaleProvider interface 2026-05-17 10:59:29 -04:00