Rewrites internal/ui/window.go in Gio, keeping the Window interface (NewWindow/Run/Present/PresentAlert/ReportIssue) and the pure-Go ViewModel. Background updates mutate shared state under a lock and Invalidate; the Gio loop renders the latest frame. Dual tabs, widget.Image for render's RGBA, a self-drawn confirm dialog and a MessageBeep sound. Drops lxn/walk (and the TTM_ADDTOOL/comctl class of problems). Verified via GOOS=windows CGO_ENABLED=0 build of the UI packages; full app build needs Windows+CGo for onnxruntime. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
408 B
AMPL
19 lines
408 B
AMPL
module silverpose/v2
|
|
|
|
go 1.24.0
|
|
|
|
require (
|
|
gioui.org v0.10.1
|
|
github.com/yalue/onnxruntime_go v1.31.0
|
|
golang.org/x/image v0.26.0
|
|
golang.org/x/sys v0.39.0
|
|
)
|
|
|
|
require (
|
|
gioui.org/shader v1.0.8 // indirect
|
|
github.com/go-text/typesetting v0.3.4 // indirect
|
|
golang.org/x/exp/shiny v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
|
|
golang.org/x/net v0.48.0 // indirect
|
|
golang.org/x/text v0.32.0 // indirect
|
|
)
|