Code: Select all
void Game::mouseMoved( const OIS::MouseEvent &e )
{
CEGUI::System::getSingleton().injectMouseMove(e.state.relX, e.state.relY);
}
I want the CEGUI mouse arrow appears when my mouse is enter into the window, and I want the cursor back to normal when it outside the window.
Any suggestions? thanks!