ui

package
v0.0.0-...-a9d3047 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Unlicense Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(w *app.Window, controller domain.API) error

Types

type DataDisplay

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

func (*DataDisplay) Layout

func (d *DataDisplay) Layout(gtx layout.Context) layout.Dimensions

Layout returns its layout.

func (*DataDisplay) Update

func (d *DataDisplay) Update()

Update updates data based on button clicks

type FormPage

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

func (*FormPage) Layout

func (fp *FormPage) Layout(gtx layout.Context) layout.Dimensions

Layout returns its layout.

func (*FormPage) Update

func (fp *FormPage) Update()

Update updates data based on button clicks.

type ListContainer

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

func (*ListContainer) Layout

func (c *ListContainer) Layout(gtx layout.Context) layout.Dimensions

Layout returns its layout.

func (*ListContainer) Update

func (c *ListContainer) Update()

TODO handle this mess better. Update updates the list and monthView.

type Page

type Page int
const (
	List Page = iota
	Add
)

type State

type State int
const (
	Editing State = iota
	Visual
)

type TopBar

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

func (*TopBar) Layout

func (t *TopBar) Layout(gtx layout.Context) layout.Dimensions

Layout returns its layout

func (*TopBar) Update

func (t *TopBar) Update()

Update updates data based on button clicks.

Jump to

Keyboard shortcuts

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