Page 1 of 1

disable background colour

Posted: Sun Dec 04, 2005 00:26
by exien
CEGUI is cool, and I'm currently trying to organize my windows by section, but I'm stuck on a small point.

After my default root window, I create 1 window that covers the whole screen called Setup where I put my game setup windows in. Unfortunately this window sets a background colour. This is not liked because I want a background image covering the whole screen while I use the Setup window! I finally figured out how to get a background image working, but only code wise, (in C++), all other windows are defined in my .layout file.

If I set alpha transparency on, all child windows inherit this, which I don't want (and I don't want to tell them all to ignore it). What's the best way to set a transparent window background? or am I approaching this wrong?

Exien

Re: disable background colour

Posted: Sun Dec 04, 2005 00:38
by lindquist
How about using another DefaultWindow?
It's transparent...

Otherwise you might want to modify/create a Falagard look to exactly do what you need...

Re: disable background colour

Posted: Sun Dec 04, 2005 02:17
by exien
Yes, that is exactly what I wanted. Multiple DefaultWindow windows :)
Thanks lindquist!