counter

package
Version: v0.0.0-...-998009c Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Unlicense, Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuoUIcounter

type DuoUIcounter struct {
	Value           int
	OperateValue    int
	From            int
	To              int
	PageFunction    func()
	CounterInput    *widget.Editor
	CounterIncrease *widget.Clickable
	CounterDecrease *widget.Clickable
	CounterReset    *widget.Clickable
}

func (*DuoUIcounter) Decrease

func (c *DuoUIcounter) Decrease()

func (*DuoUIcounter) Increase

func (c *DuoUIcounter) Increase()

func (*DuoUIcounter) Reset

func (c *DuoUIcounter) Reset()

type DuoUIcounterStyle

type DuoUIcounterStyle struct {
	Font       text.Font
	TextSize   unit.Value
	TxColor    string
	BgColor    string
	BtnBgColor string
	// contains filtered or unexported fields
}

func DuoUIcounterSt

func DuoUIcounterSt(t *theme.DuoUItheme, cc *DuoUIcounter) DuoUIcounterStyle

func (DuoUIcounterStyle) Layout

func (c DuoUIcounterStyle) Layout(g layout.Context, th *material.Theme, label, value string) func(gtx layout.Context) layout.Dimensions

Jump to

Keyboard shortcuts

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