disable background colour

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
exien
Just popping in
Just popping in
Posts: 7
Joined: Sat Oct 22, 2005 22:26

disable background colour

Postby exien » Sun Dec 04, 2005 00:26

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

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: disable background colour

Postby lindquist » Sun Dec 04, 2005 00:38

How about using another DefaultWindow?
It's transparent...

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

User avatar
exien
Just popping in
Just popping in
Posts: 7
Joined: Sat Oct 22, 2005 22:26

Re: disable background colour

Postby exien » Sun Dec 04, 2005 02:17

Yes, that is exactly what I wanted. Multiple DefaultWindow windows :)
Thanks lindquist!


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 1 guest