GUI panel or group box or something similar

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
MyGrandmaWheels
Posts: 20
Joined: Thu May 07, 2015 9:05 am

GUI panel or group box or something similar

Post by MyGrandmaWheels »

Good morning, Irrlicht community!
I need for my GUI something like a panel or group box, I mean something that can allow me to enable/disable a group of control all together and, more than this, graphically group logical related controls.
Is there something like that in Irrlicht?
If not (as I'm afraid of), can you give me a suggestion for the simplest and cleanest way to achieve this?

Many thanx!
kornwaretm
Competition winner
Posts: 189
Joined: Tue Oct 16, 2007 3:53 am
Location: Indonesia
Contact:

Re: GUI panel or group box or something similar

Post by kornwaretm »

you can achieve it using parent child relation.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: GUI panel or group box or something similar

Post by CuteAlien »

Unfortunately we haven't a real groupbox yet (with label inside the border). I always use a statictext instead as parent. Disable it's background drawing and you have the choice to draw a border or not.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
MyGrandmaWheels
Posts: 20
Joined: Thu May 07, 2015 9:05 am

Re: GUI panel or group box or something similar

Post by MyGrandmaWheels »

many thanks to all!
Nice idea, CuteAlien; in this way I don't have to get in a mess drawing a box by myself with 2d drawing functions.
chronologicaldot
Competition winner
Posts: 688
Joined: Mon Sep 10, 2012 8:51 am

Re: GUI panel or group box or something similar

Post by chronologicaldot »

Post Reply