windriver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorRefFromImageColor

func ColorRefFromImageColor(c color.Color) _ColorRef

func RectFromImageRectangle

func RectFromImageRectangle(r image.Rectangle) _Rect

func UTF16PtrFromString

func UTF16PtrFromString(s string) *uint16

Types

type Window

type Window struct {
	// contains filtered or unexported fields
}

Function preceded by "ost" run in the "operating-system-thread".

func NewWindow

func NewWindow() (*Window, error)

func (*Window) Close

func (win *Window) Close() error

Called from app.

func (*Window) GetCPPaste

func (win *Window) GetCPPaste(idx event.CopyPasteIndex, fn func(string, error))

func (*Window) Image

func (win *Window) Image() draw.Image

func (*Window) NextEvent

func (win *Window) NextEvent() interface{}

func (*Window) PostEvent

func (win *Window) PostEvent(ev interface{}) error

func (*Window) PutImage

func (win *Window) PutImage(r image.Rectangle) error

func (*Window) QueryPointer

func (win *Window) QueryPointer() (image.Point, error)

func (*Window) ResizeImage

func (win *Window) ResizeImage(r image.Rectangle) error

func (*Window) SetCPCopy

func (win *Window) SetCPCopy(idx event.CopyPasteIndex, s string) error

func (*Window) SetCursor

func (win *Window) SetCursor(c event.Cursor)

func (*Window) SetWindowName

func (win *Window) SetWindowName(str string)

func (*Window) WarpPointer

func (win *Window) WarpPointer(p image.Point)

Jump to

Keyboard shortcuts

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