void application::windowResized (Ogre::RenderWindow* wnd) { unsigned width, height, depth; int left, top; wnd->getMetrics (width, height, depth, left, top); OIS::MouseState const& ms = mouse->getMouseState(); ms.width = width; ms.height = height; }