/tg/ Station 13 - Modules - TypesVar Details - Proc Details

sprite_editor_workspace

Vars

config_flagsA bitfield specifying whether certain functions of the sprite editor should be performed if the corresponding ui actions are received - used to prevent href exploitation
tool_flagsA bitfield specifying what tools we are allowed to use in the sprite editor

Procs

get_first_layer_pixel_dataGet a reference to the pixel data for the first layer of the given dir
new_transactionTake a new transaction, perform it, and optionally add it to the undo history. Returns TRUE if the transaction was valid.

Var Details

config_flags

A bitfield specifying whether certain functions of the sprite editor should be performed if the corresponding ui actions are received - used to prevent href exploitation

tool_flags

A bitfield specifying what tools we are allowed to use in the sprite editor

Proc Details

get_first_layer_pixel_data

Get a reference to the pixel data for the first layer of the given dir

new_transaction

Take a new transaction, perform it, and optionally add it to the undo history. Returns TRUE if the transaction was valid.