Testing 0.5.0

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

Evenstar
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Tue Feb 28, 2006 23:14

Testing 0.5.0

Postby Evenstar » Mon May 01, 2006 21:37

I've been testing 0.5.0 from the SVN trunk location, and the following XML code no longer works. Basically, it should render a child StaticImage window with transparent areas. The static image contains alpha channels which used to display the parts of the image that I was interested in. Now, nothing is rendered. If I change the testWindow2 window's alpha to '1' the window is rendered, but there is an ugly, pale gray background for the areas that I want to be transparent. This used to work for 0.4, so I'm guessing something has changed?

Code: Select all

<?xml version="1.0" ?>
<GUILayout>
    <Window Type="DefaultWindow" Name="root">
        <Window Type="WindowsLook/FrameWindow" Name="testWindow2">
            <Property Name="Alpha" Value="0" />
            <Property Name="TitlebarEnabled" Value="False" />
            <Property Name="UnifiedAreaRect" Value="{{0,0},{0, 0},{0,320},{0,165.625}}" />
            <Property Name="UnifiedMaxSize" Value="{{0,320},{0,165.625}}" />
            <Property Name="FrameEnabled" Value="False" />
            <Property Name="CloseButtonEnabled" Value="False" />
            <Property Name="RollUpEnabled" Value="False" />
   
            <Window Type="WindowsLook/StaticImage" Name="TedacControlWnd" >
                <Property Name="UnifiedAreaRect" Value="{{0,0},{0, 0},{1,0},{1,0}}" />
                <Property Name="Image" Value="set:TedacImageset image:Background" />
                <Property Name="BackgroundEnabled" Value="False" />
                <Property Name="FrameEnabled" Value="False" />
            </Window>           
        </Window>
    </Window>
</GUILayout>

Evenstar
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Tue Feb 28, 2006 23:14

Re: Testing 0.5.0

Postby Evenstar » Mon May 01, 2006 23:49

Evenstar wrote:I've been testing 0.5.0 from the SVN trunk location, and the following XML code no longer works. Basically, it should render a child StaticImage window with transparent areas. The static image contains alpha channels which used to display the parts of the image that I was interested in. Now, nothing is rendered. If I change the testWindow2 window's alpha to '1' the window is rendered, but there is an ugly, pale gray background for the areas that I want to be transparent. This used to work for 0.4, so I'm guessing something has changed?


Fixed the problem. I managed to set the background color of the testWindow2 to be zero alpha. With the Alpha property for testWindow2 set to 1, the static image child window is displayed properly.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests