spritesheet
Vars | |
load_immediately | If this asset should be fully loaded on new Defaults to false so we can process this stuff nicely |
---|---|
to_generate | List of arguments to pass into queuedInsert Exists so we can queue icon insertion, mostly for stuff like preferences |
Procs | |
ModifyInserted | A simple proc handing the Icon for you to modify before it gets turned into an asset. |
create_spritesheets | Override this in order to start the creation of the spritehseet. This is where all your Insert, InsertAll, etc calls should be inside. |
get_background_url | Returns the URL to put in the background:url of the CSS asset |
icon_size_id | Returns the size class (ex design32x32) for a given sprite's icon |
Var Details
load_immediately
If this asset should be fully loaded on new Defaults to false so we can process this stuff nicely
to_generate
List of arguments to pass into queuedInsert Exists so we can queue icon insertion, mostly for stuff like preferences
Proc Details
ModifyInserted
A simple proc handing the Icon for you to modify before it gets turned into an asset.
Arguments:
- I: icon being turned into an asset
create_spritesheets
Override this in order to start the creation of the spritehseet. This is where all your Insert, InsertAll, etc calls should be inside.
get_background_url
Returns the URL to put in the background:url of the CSS asset
icon_size_id
Returns the size class (ex design32x32) for a given sprite's icon
Arguments:
- sprite_name - The sprite to get the size of