How to subscribing to events using the layout approach?
Posted: Tue Sep 19, 2006 11:23
Hi all,
I have been trying to follow the 'Main Menu' code snippet. I have managed to load a layout, but am having problem subscribing the widget to events. The way the code snippet is parsed kind of unclear too. Where can I find additional information?
Many thanks in advance!
Note: I manage to get the hard-coded method (calling the subscribe method of each widget) to work, and have confirmed that inputs are injected to CEGUI. I am using Ogre 1.2
I have been trying to follow the 'Main Menu' code snippet. I have managed to load a layout, but am having problem subscribing the widget to events. The way the code snippet is parsed kind of unclear too. Where can I find additional information?
Many thanks in advance!
Note: I manage to get the hard-coded method (calling the subscribe method of each widget) to work, and have confirmed that inputs are injected to CEGUI. I am using Ogre 1.2