Hi,
I have created a user interface using the GUI editor and outputted an xml file with the ui settings.
After i load it into the GUIEnvironment using LoadGUI(), how can i access the individual GUI elements ?
Would i have to create the element that i want to access manually (using the addGUIElement) and save the return value into a pointer or is there another way. I have checked the documentation but not found a way.
Thanx !
Retrieving individual GUI elements
you'll have to give each element an unique ID, then you can find it by using getElementFromId(...)
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 34
- Joined: Thu Feb 18, 2010 5:24 pm