IGUIEnvironment questions

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
swatter555
Posts: 14
Joined: Wed Sep 27, 2006 1:30 am

IGUIEnvironment questions

Post by swatter555 »

Hello, I am new to the engine and this community. So far I think the engine is awesome and the people around here seem very helpful.

To my question: I am trying to transfer a game editor I created using directX over to Irrlicht. The editor has tons of different gui elements that I need to implement using Irrlicht, and I am wondering how exactly Irrlicht is going to handle this.

I guess I am looking at more of a big picture answer. I have been looking over the IGUIEnvironment class doc and have a few questions. Can there be more than one IGUIEnvironment per app? Also, I don't see any methods for hiding a particular control. Of course, this then leads me into wondering how and when to attach event recievers and to what.

I would appreciate any advice, thanks in advance.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can extend the set of Irrlicht GUI elements by deriving more classes from IGUIElement. You can have several environments and draw them optionally or in sequence (might make less sense, though). You can change the visibility of elements using setVisible (pretty simple, eh?). And for the event receivers read the tutorials, this should give a good impression of how to use them.
swatter555
Posts: 14
Joined: Wed Sep 27, 2006 1:30 am

Post by swatter555 »

hybrid wrote:You can extend the set of Irrlicht GUI elements by deriving more classes from IGUIElement. You can have several environments and draw them optionally or in sequence (might make less sense, though). You can change the visibility of elements using setVisible (pretty simple, eh?). And for the event receivers read the tutorials, this should give a good impression of how to use them.
Ok, thanks that answers my questions pretty well. Im still working my way around all of the class docs and how everythings fits together, I see the methods now :oops:
Post Reply