Show MouseCursor outside CEGUI Window

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Adil
Just popping in
Just popping in
Posts: 6
Joined: Thu Jun 09, 2005 08:19
Location: St-Petersburg, Russia

Show MouseCursor outside CEGUI Window

Postby Adil » Thu Jun 09, 2005 08:46

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Show MouseCursor outside CEGUI Window

Postby CrazyEddie » Thu Jun 09, 2005 10:45

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

User avatar
Adil
Just popping in
Just popping in
Posts: 6
Joined: Thu Jun 09, 2005 08:19
Location: St-Petersburg, Russia

Re: Show MouseCursor outside CEGUI Window

Postby Adil » Fri Jun 10, 2005 07:57

Oh, my bad head...
I commented this line and forgot it :)

Thanks, CrazyEddie


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 35 guests