Testing 0.5.0
Posted: 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>