/tg/ Station 13 - Modules - Types — Var Details - Proc Details

portrait_printer

Program that lets the curator (or anyone really) browse all of the portraits in the database Stationary consoles can also print them out as they please as long as they've enough paper

Vars

gallery_viewsLazily allocated navigation by viewer ckey; released when their UI closes.
matching_paintingsStores the result of the search, for later access.
search_modeWhether the search function will check the title of the painting or the author's name.
search_stringThe last input in the search tab, stored here and reused in the UI to show successive users if the current list of paintings is limited to the results of a search or not.

Procs

DestroyRemove the program from the gallery refresh registry before deletion.
NewRegister the program for gallery refreshes after painting transactions.
add_art_galaxy_dataThe authenticated viewer owns these controls, independently of the PDA's registered owner.
add_gallery_pageProject only one detail record or at most 24 thumbnails; shared full catalogs stay server-side.
gallery_browse_dataClosed applications keep no rebuilt search payload; an empty result remains a valid cache.
get_gallery_viewLazily obtain navigation state for the authenticated viewer, independently of other PDA users.
handle_art_galaxy_actionCalled only after the original program's parent action checks have passed.
select_gallery_paintingResolve navigation against the current authorized collection, never an arbitrary datum reference.
ui_closeRelease the departing viewer's navigation state before normal UI cleanup.
ui_interactOffer eligible players a Nova import when opening Art Galaxy, without blocking the UI.

Var Details

gallery_views

Lazily allocated navigation by viewer ckey; released when their UI closes.

matching_paintings

Stores the result of the search, for later access.

search_mode

Whether the search function will check the title of the painting or the author's name.

search_string

The last input in the search tab, stored here and reused in the UI to show successive users if the current list of paintings is limited to the results of a search or not.

Proc Details

Destroy

Remove the program from the gallery refresh registry before deletion.

New

Register the program for gallery refreshes after painting transactions.

add_art_galaxy_data

The authenticated viewer owns these controls, independently of the PDA's registered owner.

Project only one detail record or at most 24 thumbnails; shared full catalogs stay server-side.

gallery_browse_data

Closed applications keep no rebuilt search payload; an empty result remains a valid cache.

Lazily obtain navigation state for the authenticated viewer, independently of other PDA users.

handle_art_galaxy_action

Called only after the original program's parent action checks have passed.

Resolve navigation against the current authorized collection, never an arbitrary datum reference.

ui_close

Release the departing viewer's navigation state before normal UI cleanup.

ui_interact

Offer eligible players a Nova import when opening Art Galaxy, without blocking the UI.