Code: Select all
CEGUI::System::getSingleton.setDefaultMouseCursor("TaharezLook", "MouseArrow");
But for me it won't diplay even after:
Code: Select all
CEGUI::MouseCursor::getSingleton().show();
Moderators: CEGUI MVP, CEGUI Team
Code: Select all
CEGUI::System::getSingleton.setDefaultMouseCursor("TaharezLook", "MouseArrow");
Code: Select all
CEGUI::MouseCursor::getSingleton().show();
Code: Select all
void MyOwnFrameListener::mouseMoved(Ogre::MouseEvent *e)
{
CEGUI::System::getSingleton().injectMouseMove(e->getRelX() * 100, e->getRelY() * 100);
}
Code: Select all
void MyOwnFrameListener::mouseMoved(Ogre::MouseEvent *e)
{
CEGUI::System::getSingleton().injectMousePosition(XPos,YPos);
}
Code: Select all
CEGUI::Renderer* renderer = System::getSingleton().getRenderer();
System::getSingleton().injectMouseMove(
e->getRelX() * renderer->getWidth(),
e->getRelY() * renderer->getHeight());
Return to “Modifications / Integrations / Customisations”
Users browsing this forum: No registered users and 4 guests