image

package
v0.0.0-...-a690e8b Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2015 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWindow

func NewWindow(size img.Rectangle) splish.Window

Types

type Texture

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

func (*Texture) Expire

func (t *Texture) Expire()

func (*Texture) MarkSubTexture

func (t *Texture) MarkSubTexture(r img.Rectangle) interface{}

type Window

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

func (*Window) Draw

func (w *Window) Draw(scenes []*splish.SubScene, r img.Rectangle)

func (*Window) OnKey

func (w *Window) OnKey(chan splish.KeyEvent)

func (*Window) OnMouseKey

func (w *Window) OnMouseKey(chan splish.MouseKeyEvent)

func (*Window) OnMouseMove

func (w *Window) OnMouseMove(chan splish.MouseMoveEvent)

func (*Window) OnSizeChange

func (w *Window) OnSizeChange(chan splish.SizeEvent)

func (*Window) UploadTexture

func (w *Window) UploadTexture(im *img.RGBA) splish.Texture

Jump to

Keyboard shortcuts

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