benilla-re systems structs docs

CSimpleButton::SetStateTexturePath

function · ui · orchestration

Address
0x778f10 · 188 bytes, up to 0x778fcb
Meaning
Reloads a state's texture from a path, or creates one anchored to the button and installs it
Confidence
verified, proof one
Finding
ui/button#state-and-highlight-textures

Finding: State and highlight textures in ui: Button and CheckButton

A state texture lives in the ARTWORK layer and shows only while its state is current. Installing one deletes the texture it replaces; the new one is shown at once when its state is current. A path reloads the slot's texture when there is one; otherwise it creates a texture anchored to all of the button and drops it when the file does not load. The highlight texture is in the HIGHLIGHT layer; Lua's SetHighlightTexture takes a blend mode, default ADD. The Lua setters take a Texture, a string, or nil, which removes the slot's texture.

The derivation is in the doc.

Callers 1

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.