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.
Click to show internal directories.
Click to hide internal directories.