Page 1 of 1

Show MouseCursor outside CEGUI Window

Posted: Thu Jun 09, 2005 08:46
by Adil
How I can make CEGUI MouseCursor visible outside CEGUI Window?
I set CEGUI::MouseCursor image, inject mousemove, etc.
It's work. But as soon as I create any window MouseCursor become visible over the window only.

sorry my english

Re: Show MouseCursor outside CEGUI Window

Posted: Thu Jun 09, 2005 10:45
by CrazyEddie
Hi,

You need to set a default mouse pointer in the System object:

Code: Select all

CEGUI::System::getSingleton().setDefaultMouseCursor("TaharezLook", "MouseArrow");


References:
Wiki
API Ref

Re: Show MouseCursor outside CEGUI Window

Posted: Fri Jun 10, 2005 07:57
by Adil
Oh, my bad head...
I commented this line and forgot it :)

Thanks, CrazyEddie