gui

package
v0.9.4-beta Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Start   = Action("start")
	Stats   = Action("stats")
	Stop    = Action("stop")
	Record  = Action("record")
	Open    = Action("open")
	Closing = Action("closing")
	Refresh = Action("refresh")
)

Variables

This section is empty.

Functions

func ColorBox

func ColorBox(gtx layout.Context, size image.Point, color color.NRGBA) layout.Dimensions

ColorBox creates a widget with the specified dimensions and color.

func Fill

func Fill(gtx layout.Context, backgroundColor color.NRGBA, w layout.Widget) layout.Dimensions

func New

func New()

Types

type Action

type Action string

type GUI

type GUI struct {
	*app.Window
	*screen.Screen

	Preview bool

	Actions chan Action

	Running bool
	// contains filtered or unexported fields
}
var Window *GUI

func (*GUI) Open

func (g *GUI) Open()

Directories

Path Synopsis
visual

Jump to

Keyboard shortcuts

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