SS1984 - Modules - TypesProc Details

greyscale_layer

Procs

InitializeOverride this to do initial set up
cross_verifyUse this proc for extra verification needed by a particular layer, gets run after all greyscale configs have finished reading their json files.
disk_refreshOverride this if you need to do something during a full config refresh from disk, return TRUE if something was changed
generateUsed to actualy create the layer using the given colors Do not override, use InternalGenerate instead
generate_universal_iconUsed to actualy create the layer using the given colors Do not override, use InternalGenerate instead
get_expected_valuesGathers information from the layer about what variables are expected in the json. Override and add to the two argument lists if you want extra information in your layer. The lists are formatted like keyname:keytype_define. The key name is assigned to the var named the same on the layer type.
internal_generateOverride this to implement layers. The colors var will only contain colors that this layer is configured to use.
internal_generate_universal_iconOverride this to implement layers. The colors var will only contain colors that this layer is configured to use.
read_json_dataHandles the processing of the json data and conversion to correct value types. Will error on incorrect, missing, or unexpected values.

Proc Details

Initialize

Override this to do initial set up

cross_verify

Use this proc for extra verification needed by a particular layer, gets run after all greyscale configs have finished reading their json files.

disk_refresh

Override this if you need to do something during a full config refresh from disk, return TRUE if something was changed

generate

Used to actualy create the layer using the given colors Do not override, use InternalGenerate instead

generate_universal_icon

Used to actualy create the layer using the given colors Do not override, use InternalGenerate instead

get_expected_values

Gathers information from the layer about what variables are expected in the json. Override and add to the two argument lists if you want extra information in your layer. The lists are formatted like keyname:keytype_define. The key name is assigned to the var named the same on the layer type.

internal_generate

Override this to implement layers. The colors var will only contain colors that this layer is configured to use.

internal_generate_universal_icon

Override this to implement layers. The colors var will only contain colors that this layer is configured to use.

read_json_data

Handles the processing of the json data and conversion to correct value types. Will error on incorrect, missing, or unexpected values.