atom_skin 
Atom skin singleton datum
Simple datum which holds information about a skin that can be applied to an atom.
Vars | |
| change_base_icon_state | If true, changing the reskin also changes the base_icon_state of the atom |
|---|---|
| change_inhand_icon_state | If true, changing the reskin also changes the inhand_icon_state of the atom |
| new_desc | Optional, description to change the atom to when applied |
| new_icon | Optional, icon to change the atom to when applied |
| new_icon_state | Optional, icon_state to change the atom to when applied |
| new_name | Optional, name to change the atom to when applied |
| preview_name | Required, name shown in the radial menu |
| reset_missing | If true, unset vars are reset to their original values when applying this skin |
Procs | |
| apply | Applies all relevant skin changes to the given atom Can be overridden to add additional behavior, such as registering signals or altering other vars. |
| clear_skin | Resets all changes this skin would have made to the given atom Does not verify that the skin was actually applied to the atom beforehand. Can be overridden to add additional behavior, such as unregistering signals or altering other vars. |
Var Details
change_base_icon_state 
If true, changing the reskin also changes the base_icon_state of the atom
change_inhand_icon_state 
If true, changing the reskin also changes the inhand_icon_state of the atom
new_desc 
Optional, description to change the atom to when applied
new_icon 
Optional, icon to change the atom to when applied
new_icon_state 
Optional, icon_state to change the atom to when applied
new_name 
Optional, name to change the atom to when applied
preview_name 
Required, name shown in the radial menu
reset_missing 
If true, unset vars are reset to their original values when applying this skin
Proc Details
apply
Applies all relevant skin changes to the given atom Can be overridden to add additional behavior, such as registering signals or altering other vars.
- apply_to: The atom to apply the skin to
clear_skin
Resets all changes this skin would have made to the given atom Does not verify that the skin was actually applied to the atom beforehand. Can be overridden to add additional behavior, such as unregistering signals or altering other vars.
- clear_from: The atom to clear the skin from