Documentation ¶
Index ¶
- type BowlsTheme
- func (t BowlsTheme) Color(name fyne.ThemeColorName, _ fyne.ThemeVariant) color.Color
- func (t BowlsTheme) Font(style fyne.TextStyle) fyne.Resource
- func (t BowlsTheme) Icon(name fyne.ThemeIconName) fyne.Resource
- func (t BowlsTheme) ScoreBtn(label string, fn func(), icon fyne.Resource) *widget.Button
- func (t BowlsTheme) ScoreLabel(bind binding.Int) *widget.Label
- func (t *BowlsTheme) SetVariant(v int) *BowlsTheme
- func (t BowlsTheme) Size(name fyne.ThemeSizeName) float32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BowlsTheme ¶
type BowlsTheme struct { fyne.Theme // contains filtered or unexported fields }
func (BowlsTheme) Color ¶
func (t BowlsTheme) Color(name fyne.ThemeColorName, _ fyne.ThemeVariant) color.Color
Color implements fyne.Theme interface
func (BowlsTheme) Font ¶
func (t BowlsTheme) Font(style fyne.TextStyle) fyne.Resource
Font implements fyne.Theme interface
func (BowlsTheme) Icon ¶
func (t BowlsTheme) Icon(name fyne.ThemeIconName) fyne.Resource
Icon implements fyne.Theme interface
func (BowlsTheme) ScoreBtn ¶
func (t BowlsTheme) ScoreBtn(label string, fn func(), icon fyne.Resource) *widget.Button
ScoreBtn returns a button to manipulate a score
func (BowlsTheme) ScoreLabel ¶
func (t BowlsTheme) ScoreLabel(bind binding.Int) *widget.Label
ScoreLabel returns a label containing a score
func (*BowlsTheme) SetVariant ¶
func (t *BowlsTheme) SetVariant(v int) *BowlsTheme
func (BowlsTheme) Size ¶
func (t BowlsTheme) Size(name fyne.ThemeSizeName) float32
Size implements fyne.Theme interface
Click to show internal directories.
Click to hide internal directories.