How to know if any CEGUI window(s) is focused or clicked

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

marty188586
Just popping in
Just popping in
Posts: 4
Joined: Sat Mar 02, 2013 02:11

How to know if any CEGUI window(s) is focused or clicked

Postby marty188586 » Sat Mar 02, 2013 02:32

Hello,

I am new to CEGUI.
I'm grograming a game, therefore I need a GUI system. I choose CEGUI (SDL input).
The question I met now is that inorder to input non-English langusges, I need IM(input method) support. However IM support is only needed when a CEGUI window is focused. How could I kow if any window is focused or not? or How do I know have I clicked on any window when my mouse clicked?

Thanks for any help.

Updated : Fix some terrable grammer erro.

AloneDeveloper
Just popping in
Just popping in
Posts: 5
Joined: Sun Mar 17, 2013 20:24

Re: How to know if any CEGUI window(s) is focused or clicked

Postby AloneDeveloper » Tue Mar 26, 2013 03:13

You must notify your CEGUI::System object about mouse move, mouse up etc. and handle this events. See manuals and tutorials, there writed in detail.
P.S. I have bad english, i hope you understend :)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests