Documentation ¶
Index ¶
- func CaptureWindow(hwnd win.HWND) (*image.RGBA, error)
- func ExpandActiveWindowDir(dir ScreenDir, count int) error
- func ExpandWindowDir(hwnd win.HWND, dir ScreenDir, count int) error
- func ExpandWindowDirW(hwnd win.HWND, dir ScreenDir, count int32) error
- func FindWindowByClassName(nameToFind string) (win.HWND, error)
- func GetWindowRect(hwnd win.HWND) (image.Rectangle, error)
- func GetWindowRectW(hwnd win.HWND) (win.RECT, error)
- func Height(r win.RECT) int32
- func ImageRectangle(wr win.RECT) image.Rectangle
- func LoudCountdown(n int)
- func MoveActiveWindowDir(dir ScreenDir, count int) error
- func MoveActiveWindowTo(rect image.Rectangle) error
- func MoveActiveWindowToLoc(loc WindowLocation) error
- func MoveActiveWindowToW(rect win.RECT) error
- func MoveWindowClassTo(nameToFind, loc string)
- func MoveWindowClassToLoc(nameToFind string, loc WindowLocation)
- func MoveWindowDir(hwnd win.HWND, dir ScreenDir, count int) error
- func MoveWindowDirW(hwnd win.HWND, dir ScreenDir, count int32) error
- func MoveWindowTo(hwnd win.HWND, ir image.Rectangle) error
- func MoveWindowToLoc(hwnd win.HWND, loc WindowLocation) error
- func MoveWindowToLocW(hwnd win.HWND, loc WindowLocation) error
- func MoveWindowToW(hwnd win.HWND, rect win.RECT) error
- func RunKbMove0() error
- func RunOverlay()
- func SaveDisplay(name string) error
- func SaveDisplayN(n int, name string) error
- func SaveWindow(hwnd win.HWND, name string) error
- func SetWindowPos(hwnd win.HWND, x0, y0, x1, y1 int) bool
- func SetWindowPosW(hwnd win.HWND, x, y, dx, dy int32) bool
- func SetWindowRect(hwnd win.HWND, ir image.Rectangle) bool
- func SetWindowRectW(hwnd win.HWND, rect win.RECT) bool
- func ShrinkActiveWindowDir(dir ScreenDir, count int) error
- func ShrinkWindowDir(hwnd win.HWND, dir ScreenDir, count int) error
- func ShrinkWindowDirW(hwnd win.HWND, dir ScreenDir, count int32) error
- func ThreeTwoOneGo()
- func Width(r win.RECT) int32
- func WinRECT(ir image.Rectangle) win.RECT
- type Game
- type ScreenDir
- type WindowLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandActiveWindowDir ¶
func LoudCountdown ¶
func LoudCountdown(n int)
func MoveActiveWindowDir ¶
MoveActiveWindowDir moves the active window in a certain direction, the given count.
func MoveActiveWindowTo ¶
func MoveActiveWindowToLoc ¶
func MoveActiveWindowToLoc(loc WindowLocation) error
func MoveActiveWindowToW ¶
func MoveWindowClassTo ¶
func MoveWindowClassTo(nameToFind, loc string)
func MoveWindowClassToLoc ¶
func MoveWindowClassToLoc(nameToFind string, loc WindowLocation)
func MoveWindowToLoc ¶
func MoveWindowToLoc(hwnd win.HWND, loc WindowLocation) error
func MoveWindowToLocW ¶
func MoveWindowToLocW(hwnd win.HWND, loc WindowLocation) error
func RunKbMove0 ¶
func RunKbMove0() error
func RunOverlay ¶
func RunOverlay()
func SaveDisplay ¶
func SaveDisplayN ¶
func ShrinkActiveWindowDir ¶
func ThreeTwoOneGo ¶
func ThreeTwoOneGo()
Types ¶
type WindowLocation ¶
type WindowLocation int32
const ( MainM1 WindowLocation = iota FullishM1 LeftMarginishM1 FullishM2 LeftMarginishM2 )
func LocationByInitials ¶
func LocationByInitials(loc string) WindowLocation
Click to show internal directories.
Click to hide internal directories.