MCPcopy Create free account
hub / github.com/cinder/Cinder / onWindowSize

Method onWindowSize

src/cinder/app/linux/AppImplLinuxGlfw.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 static void onWindowSize( GLFWwindow* glfwWindow, int width, int height ) {
63 auto iter = sWindowMapping.find( glfwWindow );
64 if( sWindowMapping.end() != iter ) {
65 auto& cinderAppImpl = iter->second.first;
66 auto& cinderWindow = iter->second.second;
67 cinderAppImpl->setWindow( cinderWindow );
68
69 cinderWindow->emitResize();
70 }
71 }
72
73 static void onWindowMove( GLFWwindow* glfwWindow, int xpos, int ypos ) {
74 auto iter = sWindowMapping.find( glfwWindow );

Callers

nothing calls this directly

Calls 4

emitResizeMethod · 0.80
findMethod · 0.45
endMethod · 0.45
setWindowMethod · 0.45

Tested by

no test coverage detected