presentation

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Palette

type Palette struct {
	Background color.NRGBA
	Panel      color.NRGBA
	PanelAlt   color.NRGBA
	Border     color.NRGBA
	Text       color.NRGBA
	Muted      color.NRGBA
	Accent     color.NRGBA
	Good       color.NRGBA
	Warning    color.NRGBA
	Error      color.NRGBA
}

func DefaultPalette

func DefaultPalette() Palette

type UI

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

func New

func New(controller *application.Controller, window *app.Window, palette Palette, icon image.Image) *UI

func (*UI) Layout

func (ui *UI) Layout(gtx layout.Context) layout.Dimensions

func (*UI) Loop

func (ui *UI) Loop() error

Jump to

Keyboard shortcuts

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