benilla-re systems structs docs

CSimpleSlider::SetThumbTexture

function · ui · orchestration

Address
0x7897c0 · 158 bytes, up to 0x78985d
Signature
uint32_t __thiscall (CSimpleSlider *this, const char *path)
Meaning
Loads a path into the thumb, or builds one and installs it on OVERLAY, answering 0 when a new one fails
Confidence
verified, proof one
Finding
ui/slider#the-thumb-texture

Finding: The thumb texture in ui: Slider and StatusBar

0x789860(texture, layer) installs the thumb +0x328: the same texture does nothing; otherwise the old thumb is deleted, a new one is moved into the slider on layer, shown, with its anchors cleared, and the thumb is stored and flag 1 of +0x314, place the thumb, is set, a null one included. SetThumbTexture passes an object or nil with layer 3 (OVERLAY), a ThumbTexture child the Slider element's drawLayer, 3 without one. 0x7897c0(path) loads a path into the thumb, answering 1 even when the file fails, or builds one and installs it on layer 3 when the file loads, deleting it and answering 0 when not. 0x789790, slot 11 of 0x81cf60, forgets a removed thumb.

The derivation is in the doc.

Callers 1

Callees 4

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