xgb

package
v0.0.0-...-5f41422 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2018 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

Variables

View Source
var Gordon image.Image

Functions

This section is empty.

Types

type OSWindow

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

func NewOSWindow

func NewOSWindow(width, height int) (w *OSWindow, err error)

func (*OSWindow) Close

func (w *OSWindow) Close() (err error)

func (*OSWindow) EventChan

func (w *OSWindow) EventChan() (events <-chan interface{})

func (*OSWindow) FlushImage

func (w *OSWindow) FlushImage(bounds ...image.Rectangle)

func (*OSWindow) LockSize

func (w *OSWindow) LockSize(lock bool)

func (*OSWindow) Screen

func (w *OSWindow) Screen() (im oswin.aWinImage)

func (*OSWindow) SetCursor

func (w *OSWindow) SetCursor(cursor oswin.Cursor)

func (*OSWindow) SetIcon

func (w *OSWindow) SetIcon(icon image.Image)

func (*OSWindow) SetIconName

func (w *OSWindow) SetIconName(name string)

func (*OSWindow) SetSize

func (w *OSWindow) SetSize(width, height int)

func (*OSWindow) SetTitle

func (w *OSWindow) SetTitle(title string)

func (*OSWindow) Show

func (w *OSWindow) Show()

func (*OSWindow) Size

func (w *OSWindow) Size() (width, height int)

type WinImage

type WinImage struct {
	*xgraphics.Image
}

func (WinImage) CopyRGBA

func (buffer WinImage) CopyRGBA(src *image.RGBA, r image.Rectangle)

Jump to

Keyboard shortcuts

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