Script::SetupFullscreenScale
function · ui · primitive
- Address
0x48c270· 232 bytes, up to0x48c357- Signature
int __fastcall (lua_State *L)- Meaning
- Sets a frame scale to the screen aspect scale, at most 1
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/uiscale#setupfullscreenscale
Finding: SetupFullscreenScale in ui: The interface scale
SetupFullscreenScale(frame) sets the frame's own scale to A, the float at 0x832a4c (0.75·a), and to 1.0 when A is
1.0 or more or not a number. a is the aspect of the gxResolution setting while widescreen is on and 4/3 otherwise, as
of the last glue or interface build (screencoord#when-the-cells-change). It is the call frame:SetScale makes (0x76ac10,
no force flag), reads no uiScale and writes no anchor or size. A non-table argument raises Usage: SetupFullscreenScale(frame), a table without a frame behind it SetupFullscreenScale(): Couldn't find 'this' in frame object, and any other object SetupFullscreenScale(): Wrong object type, expected frame. The call returns no value.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- GetScaledScreenAspect screencoord
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- SetFrameScale ui
Calls and jumps by a bare address, from tables/calls.tsv.