gui

package
v0.0.0-...-46214c3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DISPLAY_TIMEOUT = 5

Screensaver

Variables

This section is empty.

Functions

This section is empty.

Types

type Gui

type Gui struct {
	Bounds image.Rectangle
	// contains filtered or unexported fields
}

func NewGui

func NewGui(target draw.Image, touchscreen *touchscreen.Touchscreen) *Gui

func (*Gui) Process

func (g *Gui) Process()

func (*Gui) Run

func (g *Gui) Run(tsEvent *chan touchscreen.TouchscreenEvent)

func (*Gui) SelectPage

func (g *Gui) SelectPage(name string)

func (*Gui) SetMainPage

func (g *Gui) SetMainPage(page pages.Page)

func (*Gui) SetPage

func (g *Gui) SetPage(name string, page pages.Page)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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