gui/pkg/screen/messages.go
Virgil 81503d0968
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
chore(gui): align AX naming and docs
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 19:50:55 +00:00

20 lines
665 B
Go

// pkg/screen/messages.go
package screen
// QueryAll returns all screens. Result: []Screen
type QueryAll struct{}
// QueryPrimary returns the primary screen. Result: *Screen (nil if not found)
type QueryPrimary struct{}
// QueryByID returns a screen by ID. Result: *Screen (nil if not found)
type QueryByID struct{ ID string }
// QueryAtPoint returns the screen containing a point. Result: *Screen (nil if none)
type QueryAtPoint struct{ X, Y int }
// QueryWorkAreas returns work areas for all screens. Result: []Rect
type QueryWorkAreas struct{}
// ActionScreensChanged is broadcast when displays change.
type ActionScreensChanged struct{ Screens []Screen }