| 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 ); |
nothing calls this directly
no test coverage detected