MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / printWindowSize

Function printWindowSize

deps/LLGL/tests/Test_Window.cpp:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14
15static void printWindowSize(LLGL::Window& wnd)
16{
17 std::wcout << L"window: \"" << wnd.GetTitle() << L"\"" << std::endl;
18 auto s = wnd.GetSize(true);
19 std::wcout << " content size = " << s.width << " x " << s.height << std::endl;
20 s = wnd.GetSize(false);
21 std::wcout << " frame size = " << s.width << " x " << s.height << std::endl;
22};
23
24static void printWindowPos(LLGL::Window& wnd)
25{

Callers 2

OnResizeMethod · 0.85
mainFunction · 0.85

Calls 2

GetTitleMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected