platform

package
v0.0.0-...-07f2a93 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExternalBackBuffer *image.RGBA
	PaintEventChan     = make(chan chan struct{})
	InputEventChan     = make(chan interface{}, maxEvents)
)

Functions

This section is empty.

Types

type Pocket

type Pocket struct{}

func InitPocket

func InitPocket() (*Pocket, error)

func (*Pocket) PollEvent

func (p *Pocket) PollEvent() sys.Event

func (*Pocket) Present

func (p *Pocket) Present(img image.Image) error

func (*Pocket) Quit

func (p *Pocket) Quit()

func (*Pocket) Resolution

func (p *Pocket) Resolution() image.Point

func (*Pocket) ToggleFullscreen

func (p *Pocket) ToggleFullscreen() (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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