MCPcopy Create free account
hub / github.com/crossuo/crossuo / OnResize

Method OnResize

src/GameWindow.cpp:86–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void CGameWindow::OnResize()
87{
88#ifndef NEW_RENDERER_ENABLED
89 g_GL.UpdateRect();
90#else
91 RenderAdd_SetViewParams(
92 g_renderCmdList,
93 SetViewParamsCmd{
94 0, 0, m_Size.Width, m_Size.Height, m_Size.Width, m_Size.Height, -150, 150 });
95
96 g_GumpManager.RedrawAll();
97#endif
98}
99
100void CGameWindow::EmulateOnLeftMouseButtonDown()
101{

Callers

nothing calls this directly

Calls 3

RenderAdd_SetViewParamsFunction · 0.85
UpdateRectMethod · 0.80
RedrawAllMethod · 0.80

Tested by

no test coverage detected