assets

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SmallFont  *text.GoTextFace
	NormalFont *text.GoTextFace
	LargeFont  *text.GoTextFace

	Assets *domain.Assets
)
View Source
var (
	TextColor = color.RGBA{
		R: 247,
		G: 239,
		B: 199,
		A: 255,
	}
	TextDarkColor = color.RGBA{
		R: 130,
		G: 130,
		B: 130,
		A: 255,
	}
	TextBlueColor = color.RGBA{
		R: 199,
		G: 239,
		B: 247,
		A: 255,
	}
	TextOrangeColor = color.RGBA{
		R: 247,
		G: 199,
		B: 199,
		A: 255,
	}
	TextPurpleColor = color.RGBA{
		R: 199,
		G: 199,
		B: 247,
		A: 255,
	}
	TextGreenColor = color.RGBA{
		R: 199,
		G: 247,
		B: 199,
		A: 255,
	}
	TextRedColor = color.RGBA{
		R: 247,
		G: 199,
		B: 199,
		A: 255,
	}
	UIBackgroundColor = color.RGBA{
		R: 25,
		G: 25,
		B: 25,
		A: 200,
	}
	OptionColor = color.RGBA{
		R: 50,
		G: 50,
		B: 50,
		A: 255,
	}
)

Functions

func LoadAssets

func LoadAssets(progressChan chan<- string, errorChan chan<- error)

func MustLoadFonts

func MustLoadFonts()

func UpdateFonts

func UpdateFonts(size int)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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