MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ResetXformAnimation

Method ResetXformAnimation

ogsr_engine/xrGame/ui/UIStatic.cpp:310–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void CUIStatic::ResetXformAnimation()
311{
312 m_lanim_xform.m_lanim_start_time = Device.dwTimeContinual / 1000.0f;
313
314 float x = GetWndPos().x;
315 float y = GetWndPos().y;
316 m_originalSizeRect.set(x, y, x + GetWidth(), y + GetHeight());
317
318 m_lanim_xform_completed = false;
319}
320
321void CUIStatic::ResetClrAnimation()
322{

Callers 1

IsVisibleMethod · 0.80

Calls 3

GetWidthFunction · 0.50
GetHeightFunction · 0.50
setMethod · 0.45

Tested by

no test coverage detected