eveicon

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package eveicon provides access to Eve online icons as Fyne resource.

auto-generated

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceByIconID

func GetResourceByIconID(id int32) (*fyne.StaticResource, bool)

GetResourceByIconID returns an Eve Online icon by icon ID and reports if it was found. When the icon was not found it will return the undefined icon as substitute.

func GetResourceByName

func GetResourceByName(name Name) *fyne.StaticResource

GetResourceByName returns an Eve Online icon by name and reports if it was found. When the icon was not found it will return the undefined icon as substitute.

Types

type Name

type Name uint

An icon name

const (
	Undefined Name = iota
	Amarr
	Caldari
	Charisma
	CloningCenter
	Deadspace
	Faction
	Gallente
	HeliumIsotopes
	HydrogenIsotopes
	Intelligence
	Memory
	Minmatar
	NitrogenIsotopes
	Officer
	OxygenIsotopes
	Perception
	StarMap
	Storyline
	Structure
	Tech1
	Tech2
	Tech3
	Tech4
	Willpower
)

Named icons

Jump to

Keyboard shortcuts

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