Documentation
¶
Index ¶
- func ColorRefFromImageColor(c color.Color) _ColorRef
- func RectFromImageRectangle(r image.Rectangle) _Rect
- func UTF16PtrFromString(s string) *uint16
- type Window
- func (win *Window) Close() error
- func (win *Window) GetCPPaste(idx event.CopyPasteIndex, fn func(string, error))
- func (win *Window) Image() draw.Image
- func (win *Window) NextEvent() interface{}
- func (win *Window) PostEvent(ev interface{}) error
- func (win *Window) PutImage(r image.Rectangle) error
- func (win *Window) QueryPointer() (image.Point, error)
- func (win *Window) ResizeImage(r image.Rectangle) error
- func (win *Window) SetCPCopy(idx event.CopyPasteIndex, s string) error
- func (win *Window) SetCursor(c event.Cursor)
- func (win *Window) SetWindowName(str string)
- func (win *Window) WarpPointer(p image.Point)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorRefFromImageColor ¶
func RectFromImageRectangle ¶
func UTF16PtrFromString ¶
Types ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
Function preceded by "ost" run in the "operating-system-thread".
func (*Window) GetCPPaste ¶
func (win *Window) GetCPPaste(idx event.CopyPasteIndex, fn func(string, error))
func (*Window) SetWindowName ¶
func (*Window) WarpPointer ¶
Click to show internal directories.
Click to hide internal directories.