config

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

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config *config
View Source
var OnChangeCallback func()

Functions

func Default

func Default() *config

func SetConfig

func SetConfig(c *config)

func SetOnChangeCallback

func SetOnChangeCallback(fn func())

Types

type Color

type Color uint8

type Palette

type Palette []color.Color

func NewPalette

func NewPalette() Palette

func (Palette) GetColor

func (p Palette) GetColor(i uint8) color.Color

func (Palette) RGBA

func (p Palette) RGBA(i uint8) color.RGBA

Jump to

Keyboard shortcuts

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