I've just made my first release on http://msmazes.sourceforge.net/. The prebuilt binary, compiled using Dev-C++ for Windows, makes moderate use of Irrlicht's GUI.
The problem is that any IGUIWindow that is added directly to the environment can be partially seen through. (You can still see the arrows and or circles under it.) Choosing between the software renderer and OpenGL doesn't seem to make a difference in this case. Adjusting the skin color and the background transparency setting likewise has no effect.
Has anybody encountered this problem before me?
I can make a simpler test case later if necessary.
Cromwell D. Enage
GUI translucency problem
Code: Select all
for (u32 i=0; i<EGDC_COUNT; ++i)
{
SColor color = Environment->getSkin()->getColor((EGUI_DEFAULT_COLOR)i);
color.setAlpha(255);
Environment->getSkin()->setColor((EGUI_DEFAULT_COLOR)i,color);
}
Re: GUI translucency problem
Thanks, that worked!
Now I'm just wondering why the alpha components of all GUI colors aren't 255 by default.
Cromwell D. Enage
Now I'm just wondering why the alpha components of all GUI colors aren't 255 by default.
Cromwell D. Enage
-
- Posts: 313
- Joined: Tue Nov 01, 2005 5:01 am