Button::SetHighlightTexture
function · ui · primitive
- Address
0x781d00· 570 bytes, up to0x781f39- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Button method SetHighlightTexture, its pair in the table 0x879d00
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 10
- ParseBlendMode ui
- lua_settop lua
- lua_type lua
- lua_isstring lua
- lua_tostring lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleButton::SetHighlightTexturePath ui
- CSimpleButton::SetHighlightTexture ui
Calls and jumps by a bare address, from tables/calls.tsv.