Documentation ¶
Index ¶
- func NewWindow(size img.Rectangle) splish.Window
- type Texture
- type Window
- func (w *Window) Draw(scenes []*splish.SubScene, r img.Rectangle)
- func (w *Window) OnKey(chan splish.KeyEvent)
- func (w *Window) OnMouseKey(chan splish.MouseKeyEvent)
- func (w *Window) OnMouseMove(chan splish.MouseMoveEvent)
- func (w *Window) OnSizeChange(chan splish.SizeEvent)
- func (w *Window) UploadTexture(im *img.RGBA) splish.Texture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Texture ¶
type Texture struct {
// contains filtered or unexported fields
}
func (*Texture) MarkSubTexture ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) OnMouseKey ¶
func (w *Window) OnMouseKey(chan splish.MouseKeyEvent)
func (*Window) OnMouseMove ¶
func (w *Window) OnMouseMove(chan splish.MouseMoveEvent)
func (*Window) OnSizeChange ¶
Click to show internal directories.
Click to hide internal directories.