MCPcopy Create free account
hub / github.com/defold/defold / SetWindowSize

Function SetWindowSize

engine/platform/src/platform_window_null.cpp:183–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 {}
182
183 void SetWindowSize(HWindow window, uint32_t width, uint32_t height)
184 {
185 window->m_WindowWidth = width;
186 window->m_WindowHeight = height;
187
188 if (window->m_CreateParams.m_ResizeCallback)
189 {
190 window->m_CreateParams.m_ResizeCallback(window->m_CreateParams.m_ResizeCallbackUserData, width, height);
191 }
192 }
193
194 void SetWindowPosition(HWindow window, int32_t x, int32_t y)
195 {}

Callers 1

WindowSetSizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected