Creating an "advanced" GUI

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
Obsidian
Posts: 17
Joined: Fri Feb 17, 2006 10:42 pm

Creating an "advanced" GUI

Post by Obsidian »

Alright, i'm still getting familiar with Irrlicht, and i'm trying to write a GUI with more than 1 menu (which is what is included in the examples). Is the best way to go about this, is by creating an array of devices, and when i click a button for example, it closes 1 device and runs a new one? I know this is probably a really newbie question. Is there a more advanced GUI example code that was released that i can look through?
Legality is a horrible barometer for morality.
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

The meshviewer example has the most advanced GUI...

Do you want a different menu bar to appear as the application state changes? If so, all you need to do is remove the current menu and create a new one in its place. If you want different menus to appear based on different program states, you might want to have a look at the discussion and code in this thread.

Travis
Post Reply