A simple, high performance text editor.
Go to file
Greg Pomerantz b8c6878f46 Introduce distinct Dp/Px types to prevent coordinate mixing at compile time
- Add ui.Dp and ui.Px as distinct named types
- Logic layer works exclusively in Dp (positions, sizes, regions)
- Renderer converts Dp→Px at Gio interop boundaries
- Capture gtx.Constraints once at start of Draw() for consistent positioning
- main.go converts app.ConfigEvent pixels to Dp before passing to logic layer
- Update documentation with new coordinate system architecture
2026-05-09 18:40:47 -04:00
cmd/pad Introduce distinct Dp/Px types to prevent coordinate mixing at compile time 2026-05-09 18:40:47 -04:00
doc Introduce distinct Dp/Px types to prevent coordinate mixing at compile time 2026-05-09 18:40:47 -04:00
internal Introduce distinct Dp/Px types to prevent coordinate mixing at compile time 2026-05-09 18:40:47 -04:00
go.mod Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
go.sum Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
pad Update BottomBar to use drawText instead of material.Label 2026-05-09 15:53:14 -04:00