winmove

package
v0.0.0-...-b3cd731 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnumDisplayMonitors

func EnumDisplayMonitors(hdc w32.HDC, clip *w32.RECT, fnEnum func(hmonitor w32.HMONITOR, hdc w32.HDC, lprect *w32.RECT, lparam w32.LPARAM) bool, dwData uintptr) bool

func GetMonitorInfo

func GetMonitorInfo(hmonitor w32.HMONITOR) w32.MONITORINFO

func GetParent

func GetParent(of w32.HWND) w32.HWND

func Height

func Height(r w32.RECT) int

func Height32

func Height32(r w32.RECT) int32

func ImageRectangle

func ImageRectangle(wr w32.RECT) image.Rectangle

func Monitors

func Monitors() []w32.HMONITOR

func SetWindowPos

func SetWindowPos(hwnd w32.HWND, x, y, dx, dy int) bool

func SetWindowPosW

func SetWindowPosW(hwnd w32.HWND, rect w32.RECT) bool

func Shrink

func Shrink(r w32.RECT, dx, dy int32) w32.RECT

func ShrinkBy

func ShrinkBy(r w32.RECT, delta float64) w32.RECT

func ToPrimary

func ToPrimary()

func ToPrimary2

func ToPrimary2()

func Width

func Width(r w32.RECT) int

func Width32

func Width32(r w32.RECT) int32

func WinRECT

func WinRECT(ir image.Rectangle) w32.RECT

Types

type DebugOptions

type DebugOptions struct {
	VerboseLevel int
}
var Debug DebugOptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL