Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
RUI.Icons.Simple.IconLoader Class Reference

Used in the RDController for tech tree icons More...

Inheritance diagram for RUI.Icons.Simple.IconLoader:

Public Member Functions

Icon GetIcon (string name)
 

Public Attributes

Dictionary< string, IconiconDictionary = new Dictionary<string, Icon>()
 
List< Iconicons = new List<Icon>()
 

Protected Member Functions

void LoadIcon (GameDatabase.TextureInfo texInfo, bool useStockPath)
 

Properties

Icon FallbackIcon [get]
 

Detailed Description

Used in the RDController for tech tree icons

Member Function Documentation

Icon RUI.Icons.Simple.IconLoader.GetIcon ( string  name)
inline

< Next attempt to load from the given path

void RUI.Icons.Simple.IconLoader.LoadIcon ( GameDatabase.TextureInfo  texInfo,
bool  useStockPath 
)
inlineprotected

< Put icon in dictionary for fast lookup

Member Data Documentation

Dictionary<string, Icon> RUI.Icons.Simple.IconLoader.iconDictionary = new Dictionary<string, Icon>()
List<Icon> RUI.Icons.Simple.IconLoader.icons = new List<Icon>()

Property Documentation

Icon RUI.Icons.Simple.IconLoader.FallbackIcon
get

The documentation for this class was generated from the following file: