components

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBottomLayout

func CreateBottomLayout() *fyne.Container

func CreateClassSelector

func CreateClassSelector(multi bool) *fyne.Container

CreateClassSelector generate a full class selector entry (class, sublass, lvl included)

func CreateMultiClassFlagLayout

func CreateMultiClassFlagLayout() (*fyne.Container, *widget.Check)

func CreateSkillPanel

func CreateSkillPanel(class classmanager.Class, lvl int, subClass classmanager.SubClass, featValue int) *fyne.Container

func CreateTitleTopLayout

func CreateTitleTopLayout() *fyne.Container

func CreateTopLayout

func CreateTopLayout() *fyne.Container

func HandleBardSelected

func HandleBardSelected(container *fyne.Container, className string)

func HandleFeatClass

func HandleFeatClass(className, secClassName string)

func HandleHasNoFeat

func HandleHasNoFeat()

func OnClassChanged

func OnClassChanged()

func OnLvlChanged

func OnLvlChanged()

func OnSubChanged

func OnSubChanged()

Types

type NumericalEntry

type NumericalEntry struct {
	widget.Entry
}

NumericalEntry is a numerical input

func NewNumericalEntry

func NewNumericalEntry() *NumericalEntry

NewNumericalEntry generate a new numerical input

func (*NumericalEntry) Keyboard

func (e *NumericalEntry) Keyboard() mobile.KeyboardType

Keyboard enforce the number keyboard to be displayed when clikcing on the input on mobile device.

func (*NumericalEntry) TypedRune

func (e *NumericalEntry) TypedRune(r rune)

TypedRune enforce the available rune in the input to numeral value

func (*NumericalEntry) TypedShortcut

func (e *NumericalEntry) TypedShortcut(shortcut fyne.Shortcut)

TypedShortcut enforce the copy/paste to be a number

Jump to

Keyboard shortcuts

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