ui

package
v0.0.0-...-ec244d1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MulAlpha

func MulAlpha(c color.NRGBA, alpha uint8) color.NRGBA

Types

type AddView

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

func (*AddView) Layout

func (av *AddView) Layout(gtx layout.Context, th *material.Theme, ctrl *Controller) layout.Dimensions

type Background

type Background struct {
	Color color.NRGBA
}

func (Background) Layout

type ButtonLayoutStyle

type ButtonLayoutStyle struct {
	Background   color.NRGBA
	CornerRadius unit.Dp
	Button       *widget.Clickable
}

func (ButtonLayoutStyle) Layout

type Cell

type Cell interface {
	Layout(gtx layout.Context, th *material.Theme) layout.Dimensions
}

type Checkbox

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

type CodeCell

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

func (*CodeCell) Layout

func (c *CodeCell) Layout(gtx layout.Context, th *material.Theme) layout.Dimensions

type CodeView

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

func (*CodeView) Layout

func (cv *CodeView) Layout(gtx layout.Context, th *material.Theme, ctrl *Controller) layout.Dimensions

type Controller

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

func (*Controller) Layout

func (ctrl *Controller) Layout(gtx layout.Context, th *material.Theme) layout.Dimensions

func (*Controller) SwitchTo

func (ctrl *Controller) SwitchTo(page Page)

type IconButton

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

func (IconButton) Layout

func (i IconButton) Layout(gtx layout.Context, icon *widget.Icon, click *widget.Clickable) layout.Dimensions

type Page

type Page interface {
	Layout(gtx layout.Context, th *material.Theme, ctrl *Controller) layout.Dimensions
}

type SettingsView

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

func (*SettingsView) Layout

func (s *SettingsView) Layout(gtx layout.Context, th *material.Theme, ctrl *Controller) layout.Dimensions

type TitleBar

type TitleBar struct{}

func (TitleBar) Layout

func (TitleBar) Layout(gtx layout.Context) layout.Dimensions

type ToolCell

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

func (*ToolCell) Layout

func (cell *ToolCell) Layout(gtx layout.Context, th *material.Theme) layout.Dimensions

type Window

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

func NewWin

func NewWin() *Window

func (*Window) Run

func (w *Window) Run()

Directories

Path Synopsis
Package component copy form github.com/gio-x
Package component copy form github.com/gio-x

Jump to

Keyboard shortcuts

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