MCPcopy Create free account
hub / github.com/axmolengine/axmol / onEnter

Method onEnter

tests/cpp-tests/Source/WindowTest/WindowTest.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void WindowTestWindowed1::onEnter()
48{
49 WindowTest::onEnter();
50 RenderViewImpl* view = (RenderViewImpl*)Director::getInstance()->getRenderView();
51 view->setWindowed(480, 320);
52}
53
54std::string WindowTestWindowed1::subtitle() const
55{

Callers

nothing calls this directly

Calls 7

getInstanceFunction · 0.85
setWindowedMethod · 0.80
getWindowPositionMethod · 0.80
getWindowSizeMethod · 0.80
formatFunction · 0.50
setPositionMethod · 0.45

Tested by

no test coverage detected