Requests

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Pr3t3nd3r
Posts: 186
Joined: Tue Feb 08, 2005 6:02 pm
Location: Romania
Contact:

Requests

Post by Pr3t3nd3r »

guiEnviroment->clear();
Galactic Dream Best RTS game
http://www.rageofwar.net
Engage in epic galactic warfare, guide your people through the galaxy! in the real time strategy game made with Irrlicht
http://www.evolutionvault.com
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Code: Select all

void IGUIEnvironment_clear(IGUIEnvironment* env)
{
   const core::list<IGUIElement>& elements = env->getRootGUIElement()->getChildren();
   while(!elements.empty())
      (*elements.getLast()).remove();
}
Post Reply