import "golang.org/x/exp/shiny/driver/internal/win32"
Package win32 implements a partial shiny screen driver using the Win32 API. It provides window, lifecycle, key, and mouse management, but no drawing. That is left to windriver (using GDI) or gldriver (using DirectX via ANGLE).
key.go syscall_windows.go win32.go zsyscall_windows.go
var ( MouseEvent func(hwnd syscall.Handle, e mouse.Event) PaintEvent func(hwnd syscall.Handle, e paint.Event) SizeEvent func(hwnd syscall.Handle, e size.Event) KeyEvent func(hwnd syscall.Handle, e key.Event) LifecycleEvent func(hwnd syscall.Handle, e lifecycle.Stage) )
func SendMessage(hwnd syscall.Handle, uMsg uint32, wParam uintptr, lParam uintptr) (lResult uintptr)
Show shows a newly created window. It sends the appropriate lifecycle events, makes the window appear on the screen, and sends an initial size event.
This is a separate step from NewWindow to give the driver a chance to setup its internal state for a window before events start being delivered.
Package win32 imports 13 packages (graph). Updated about 11 hours ago with GOOS=windows. Refresh now. Tools for package owners.