Hi all
I'm new to CEGUI; i'm using 0.8.7 under windows, D3D9 & D3D11 renderer.
I'm posting here because I did'nt get answers on the official CEGUI about my current topic : I'd like to set a customized mouse cursor in my app, rather than the OS default one. Can someone point me to a link/tutorial explaining how to do that ?? (basically use of CEGUI::MouseCursor class did not lead me to any result...)
I specify that CEGUI is running inside my homegrown rendering engine, not OGRE or whatever...
Thks in advance for any help, please apologize if this question was asked/solved here before (in this case please gimme the link to the thread)
-Nev-
[Solved] Need help : custom mouse cursor
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 7
- Joined: Sat Oct 22, 2016 13:14
- Location: Paris, France
[Solved] Need help : custom mouse cursor
Last edited by NevilClavain on Thu Dec 01, 2016 08:06, edited 2 times in total.
Re: Need help : custom mouse cursor
I think "CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().setDefaultImage" should do the trick.
-
- Just popping in
- Posts: 7
- Joined: Sat Oct 22, 2016 13:14
- Location: Paris, France
Re: Need help : custom mouse cursor
That's it. It's working now . Thk for your help
Switching the topic to "SOLVED"
-Nev-
Switching the topic to "SOLVED"
-Nev-
Re: [Solved] Need help : custom mouse cursor
Just one question: What is the "official CEGUI"?
I'm posting here because I did'nt get answers on the official CEGUI about my current topic
CrazyEddie: "I don't like GUIs"
-
- Just popping in
- Posts: 7
- Joined: Sat Oct 22, 2016 13:14
- Location: Paris, France
Re: [Solved] Need help : custom mouse cursor
Ident wrote:Just one question: What is the "official CEGUI"?I'm posting here because I did'nt get answers on the official CEGUI about my current topic
I just meant "Official CEGUI wiki" : http://cegui.org.uk/wiki/
Re: [Solved] Need help : custom mouse cursor
If you're interested, feel free to share with us about the project u work on (in the dedicated forum).
-
- Just popping in
- Posts: 7
- Joined: Sat Oct 22, 2016 13:14
- Location: Paris, France
Re: [Solved] Need help : custom mouse cursor
Hey thanks, I'll post it in a few in this dedicated forum
Who is online
Users browsing this forum: Google [Bot] and 9 guests