Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestate/data/gui/layouts/QuestGUI.layout @ 6698

Last change on this file since 6698 was 6564, checked in by rgrieder, 15 years ago

Changed use of CEGUI widgets: Instead of addressing a type with "TaharezLook/Button" I changed it to "MenuWidgets/MyWidget".
That allows to define multiple skins for the menu and simply load the one we like.
Furthermore the idea is to use "HUDWidgets/MyWidget" for HUD elements. But I haven't added that.

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3    <Window Type="MenuWidgets/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="MenuWidgets/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="MenuWidgets/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.