/tg/ Station 13 - Modules - TypesVar Details

nanopaint

Vars

backing_fileA weak reference to the data file containing the workspace currently being worked on.
current_colorThe current color we are painting with
dialogUI data for a modal dialog to display
opened_file_nameThe name of the file that was opened, in case we are trying to save a file that is no longer accessible.
opened_file_typeThe typepath of the file that was opened, in case we are trying to save a file that is no longer accessible.
paletteA list of colors we have quick access to
source_on_undo_allIf we have modified this project, store whatever unmodified photo or painting we were made from here.
source_photo_or_paintingIf the opened file is an unmodified photo or painting, this is a reference to it.

Var Details

backing_file

A weak reference to the data file containing the workspace currently being worked on.

current_color

The current color we are painting with

dialog

UI data for a modal dialog to display

opened_file_name

The name of the file that was opened, in case we are trying to save a file that is no longer accessible.

opened_file_type

The typepath of the file that was opened, in case we are trying to save a file that is no longer accessible.

palette

A list of colors we have quick access to

source_on_undo_all

If we have modified this project, store whatever unmodified photo or painting we were made from here.

source_photo_or_painting

If the opened file is an unmodified photo or painting, this is a reference to it.