Removing opacity on a window?

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
danielmccarthy
Posts: 51
Joined: Fri May 30, 2014 12:55 am

Removing opacity on a window?

Post by danielmccarthy »

Hi,
I am trying to remove opacity on an IGUIWindow. I want the window to be completely solid no transparency?

Any help?

Thanks,
Dan
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Removing opacity on a window?

Post by CuteAlien »

Example 05 shows how to change transparency for gui-elements (the skin->setColor part). I think for Window background the value that matters is EGDC_WINDOW. So skin->setColor(EGDC_WINDOW, mycolor); where mycolor should be color with corresponding alpha values.
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
Post Reply