Separate GUI module
Posted: 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?)
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?)