CSimpleSlider::InstallThumbTexture
function · ui · primitive
- Address
0x789860· 83 bytes, up to0x7898b2- Signature
void __thiscall (CSimpleSlider *this, CSimpleTexture *texture, uint32_t layer)- Meaning
- Replaces the thumb, deleting the old one and linking the new one on a layer without anchors
- Confidence
- verified, proof one
- Finding
- ui/slider#the-thumb-texture
- Test
ui::slider_install_thumb_difftest
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 4
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.