Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ingamemenu/data/gui/layouts/QuestGUI.layout @ 6003

Last change on this file since 6003 was 6003, checked in by dafrick, 15 years ago

Implemented support for multiple simultaniously showing GUIs. What happens now, in essence, is, that every root-window of a gui, that is to be showed, is attached to a global root window, which is always displayed and therefore needs to be fully transparent (alpha = 0.0). To not inherit the transparency (and thus be fully transparent as well) each root-window of a gui must (or should) set the property 'InheritsAlpha' to false.

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3    <Window Type="TaharezLook/StaticImage" Name="orxonox/QuestGUI/Background">
4    <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/>
5    <Property Name="Image" Value="set:MainMenuBackground image:Background"/>
6    <Property Name="FrameEnabled" Value="set:true"/>
7    <Property Name="BackgroundEnabled" Value="set:false"/>
8    <Property Name="InheritsAlpha" Value="False" />
9
10        <Window Type="TaharezLook/Titlebar" Name="orxonox/QuestGUI/Title">
11            <Property Name="UnifiedPosition" Value="{{0.05,0},{0.05,0}}"/>
12            <Property Name="UnifiedSize" Value="{{0.9,0},{0.05,0}}"/>
13            <Property Name="Text" Value="Your Quests"/>
14        </Window>
15
16        <Window Type="TaharezLook/Listbox" Name="orxonox/QuestGUI/QuestsList">
17            <Property Name="UnifiedPosition" Value="{{0.07,0},{0.18,0}}" />
18            <Property Name="UnifiedSize" Value="{{0.86,0},{0.8,0}}" />
19            <Property Name="Alpha" Value="0.8" />
20        </Window>
21
22    </Window>
23</GUILayout>
Note: See TracBrowser for help on using the repository browser.