scorecard

package
v0.0.0-...-7f222ab Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScoreCard

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

func New

func New(t *btheme.BowlsTheme, app fyne.App) *ScoreCard

New returns a pointer to a new scoreCard

func (*ScoreCard) AutoSave

func (s *ScoreCard) AutoSave()

AutoSave sets a timer to automatically save the scores

func (*ScoreCard) GetEnds

func (s *ScoreCard) GetEnds() int

func (*ScoreCard) GetScores

func (s *ScoreCard) GetScores() scoring.Scores

func (*ScoreCard) Layout

func (s *ScoreCard) Layout() *fyne.Container

Layout returns the container for the application

func (*ScoreCard) Reset

func (s *ScoreCard) Reset()

Reset resets all scores to zero

func (*ScoreCard) SaveScore

func (s *ScoreCard) SaveScore()

func (*ScoreCard) SetEnds

func (s *ScoreCard) SetEnds(ends int) *ScoreCard

func (*ScoreCard) SetScores

func (s *ScoreCard) SetScores(scores scoring.Scores) *ScoreCard

Jump to

Keyboard shortcuts

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