greyscale_config

Vars | |
| expected_colors | How many colors are expected to be given when building the sprite |
|---|---|
| height | Spritesheet height of the icon_file |
| icon_cache | Generated icons keyed by their color arguments |
| icon_file | Reference to the dmi file for this config |
| icon_states | A list of icon states and their layers |
| json_config | Reference to the json config file |
| string_icon_file | String path to the icon file, used for reloading |
| string_json_config | String path to the json file, used for reloading |
| width | Spritesheet width of the icon_file |
Procs | |
| DebugName | Gets the name used for debug purposes |
| Generate | Actually create the icon and color it in, handles caching |
| GenerateLayerGroup | Internal recursive proc to handle nested layer groups |
| ReadIconStateConfiguration | Takes the json icon state configuration and puts it into a more processed format |
| ReadLayersFromJson | Takes the json layers configuration and puts it into a more processed format |
| ReadMetadata | Reads layer configurations to take out some useful overall information |
Var Details
expected_colors

How many colors are expected to be given when building the sprite
height

Spritesheet height of the icon_file
icon_cache

Generated icons keyed by their color arguments
icon_file

Reference to the dmi file for this config
icon_states

A list of icon states and their layers
json_config

Reference to the json config file
string_icon_file

String path to the icon file, used for reloading
string_json_config

String path to the json file, used for reloading
width

Spritesheet width of the icon_file
Proc Details
DebugName
Gets the name used for debug purposes
Generate
Actually create the icon and color it in, handles caching
GenerateLayerGroup
Internal recursive proc to handle nested layer groups
ReadIconStateConfiguration
Takes the json icon state configuration and puts it into a more processed format
ReadLayersFromJson
Takes the json layers configuration and puts it into a more processed format
ReadMetadata
Reads layer configurations to take out some useful overall information