Separate GUI module

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

madeinsoviets
Just popping in
Just popping in
Posts: 13
Joined: Sat Feb 27, 2010 09:16

Separate GUI module

Postby madeinsoviets » Wed Mar 10, 2010 09:34

Hello again...)
I have a little question...
Let's imagine, we have an app, controlled by our GUI, so, we have events from both direction - CEGUI send events to app through subscribers, and the question is - are there any provided facilities to notify CEGUI about app events (or only direct C++ calls)? For example we have a full GUI defined in Lua, we have an error in app and we want to show wnd in GUI in Lua...Main idea is to build GUI like a separate module, so it can be developed by 3d party, and our task is only handle events from GUI and send events to GUI...Are there any ideas?)

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

Re: Separate GUI module

Postby CrazyEddie » Wed Mar 10, 2010 10:14

Hi there,

The only way to notify CEGUI of events is to call in via C++ or the Lua binding (or some binding of your own creation). I think any other mechanism we could supply would be difficult to provide in a way that would be expressive. You might consider a thin interface layer to provide such a thing that is suitable for your specific scenario(s) though.

CE.


Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 9 guests