Documentation ¶
Index ¶
- func CreateBottomLayout() *fyne.Container
- func CreateClassSelector(multi bool) *fyne.Container
- func CreateMultiClassFlagLayout() (*fyne.Container, *widget.Check)
- func CreateSkillPanel(class classmanager.Class, lvl int, subClass classmanager.SubClass, ...) *fyne.Container
- func CreateTitleTopLayout() *fyne.Container
- func CreateTopLayout() *fyne.Container
- func HandleBardSelected(container *fyne.Container, className string)
- func HandleFeatClass(className, secClassName string)
- func HandleHasNoFeat()
- func OnClassChanged()
- func OnLvlChanged()
- func OnSubChanged()
- type NumericalEntry
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 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 ¶
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
Click to show internal directories.
Click to hide internal directories.