ScrollFrame::SetVerticalScroll
function · ui · primitive
- Address
0x791400· 262 bytes, up to0x791505- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the ScrollFrame method SetVerticalScroll, its pair in the table 0x87b3c0
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/scrollframe#offsets
- Test
ui::luabind_791_setters
Finding: Offsets in ui: ScrollFrame
Setting an offset stores it as given, with no clamp, when it differs from the current one by
2^−22 or more; it then anchors the child's TOPLEFT to the frame's TOPLEFT at the horizontal
offset across and the vertical offset up, and runs OnHorizontalScroll or OnVerticalScroll with
the offset in script units. A nearly equal offset does nothing, script included. The Lua setters
and getters convert between script units and the layout units the fields hold, v·K1 / (1024·A)
on the way in and its inverse on the way out (glue/script, Cursor and screen size).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 10
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_tonumber lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleScrollFrame::SetVerticalScroll ui
Calls and jumps by a bare address, from tables/calls.tsv.