assets

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	GreenID  = 0
	YellowID = 1
	RedID    = 2
	BlueID   = 3
)

Colored Icon IDs.

Variables

View Source
var (
	//go:embed data/icons/pm_light_green_512.png
	GreenPNG []byte

	//go:embed data/icons/pm_light_yellow_512.png
	YellowPNG []byte

	//go:embed data/icons/pm_light_red_512.png
	RedPNG []byte

	//go:embed data/icons/pm_light_blue_512.png
	BluePNG []byte

	// ColoredIcons holds all the icons as .PNGs.
	ColoredIcons [4][]byte
)

Icons.

View Source
var PNG []byte

Functions

func ScaleColoredIconsTo

func ScaleColoredIconsTo(pixelSize int)

ScaleColoredIconsTo scales all colored icons to the given size. It must be called before any colored icons are used. It does nothing on Windows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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