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!
GUI panel or group box or something similar
-
- Posts: 20
- Joined: Thu May 07, 2015 9:05 am
-
- Competition winner
- Posts: 189
- Joined: Tue Oct 16, 2007 3:53 am
- Location: Indonesia
- Contact:
Re: GUI panel or group box or something similar
you can achieve it using parent child relation.
Re: GUI panel or group box or something similar
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 20
- Joined: Thu May 07, 2015 9:05 am
Re: GUI panel or group box or something similar
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.
Nice idea, CuteAlien; in this way I don't have to get in a mess drawing a box by myself with 2d drawing functions.
-
- Competition winner
- Posts: 688
- Joined: Mon Sep 10, 2012 8:51 am