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

Function OpenWindow

engine/platform/src/platform_window_null.cpp:50–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 WindowResult OpenWindow(HWindow window, const WindowCreateParams& params)
51 {
52 if (window->m_WindowOpened)
53 {
54 return WINDOW_RESULT_WINDOW_ALREADY_OPENED;
55 }
56
57 window->m_CreateParams = params;
58 window->m_WindowOpened = 1;
59 window->m_WindowWidth = params.m_Width;
60 window->m_WindowHeight = params.m_Height;
61
62 return WINDOW_RESULT_OK;
63 }
64
65 void CloseWindow(HWindow window)
66 {

Callers 15

WindowOpenFunction · 0.70
mainFunction · 0.50
SetUpMethod · 0.50
engine.cppFile · 0.50
EngineCreateFunction · 0.50
SetUpMethod · 0.50
SetUpMethod · 0.50
SetUpMethod · 0.50
SetUpMethod · 0.50
EngineCreateFunction · 0.50
SetUpMethod · 0.50
TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 14

SetUpMethod · 0.40
EngineCreateFunction · 0.40
SetUpMethod · 0.40
SetUpMethod · 0.40
SetUpMethod · 0.40
SetUpMethod · 0.40
EngineCreateFunction · 0.40
SetUpMethod · 0.40
TEST_FFunction · 0.40
SetUpMethod · 0.40
SetUpMethod · 0.40
InitFunction · 0.40