utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Green = color.RGBA{0x00, 0x80, 0x00, 0xff}
	Red   = color.RGBA{0x80, 0x00, 0x00, 0xff}
)
View Source
var (
	NormalFont font.Face
	SmallFont  font.Face
)
View Source
var (
	ButtonImage = loadButtonImage()
)

Functions

func ButtonImageFromImage

func ButtonImageFromImage(i *ebiten.Image) *widget.ButtonImage

func EqualListEntries added in v1.1.0

func EqualListEntries(le, nle []any) bool

func FillIn added in v1.1.0

func FillIn(s string, l int) string

Types

type ListEntry added in v1.1.0

type ListEntry struct {
	ID   string
	Text string
}

Jump to

Keyboard shortcuts

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