utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorNameTile fyne.ThemeColorName = "tile"
)

Variables

This section is empty.

Functions

func FormatDuration

func FormatDuration(d time.Duration) string

func GenerateSeed

func GenerateSeed(size int) []uint8

func IsSolvable

func IsSolvable(seed []uint8) bool

Types

type ThemeInteface

type ThemeInteface interface {
	fyne.Theme
	TileColor() color.Color
}

func NewTheme

func NewTheme() ThemeInteface

Jump to

Keyboard shortcuts

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