Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutoriallevel/data/gui/layouts/QuestGUI.layout @ 8225

Last change on this file since 8225 was 7831, checked in by dafrick, 14 years ago

Improvements on QuestGUI, also documented some of the code.

  • Property svn:eol-style set to native
File size: 4.5 KB
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3    <Window Type="DefaultWindow" Name="orxonox/QuestGUI/Background">
4        <Property Name="InheritsAlpha" Value="False" />
5        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
6
7        <Window Type="DefaultWindow" Name="orxonox/QuestGUI/MainWindow">
8            <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.1,0},{0.9,0},{0.9,0}}" />
9
10            <Window Type="MenuWidgets/Titlebar" Name="orxonox/QuestGUI/Title">
11                <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{0,30}}" />
12                <Property Name="Text" Value="Your Quests"/>
13            </Window>
14
15            <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/MainWindow/LeftPanel">
16                <Property Name="UnifiedAreaRect" Value="{{0,0},{0,30},{0.5,0},{1,0}}" />
17
18                <Window Type="MenuWidgets/TabButton" Name="orxonox/QuestGUI/ActiveQuestsButton">
19                    <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0.5,0},{0,30}}" />
20                    <Property Name="Text" Value="active quests"/>
21                    <Event Name="Clicked" Function="QuestGUI.showActiveQuestsButton_clicked"/>
22                </Window>
23                <Window Type="MenuWidgets/TabButton" Name="orxonox/QuestGUI/FinishedQuestsButton">
24                    <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0,0},{1,0},{0,30}}" />
25                    <Property Name="Text" Value="finished quests"/>
26                    <Event Name="Clicked" Function="QuestGUI.showFinishedQuestsButton_clicked"/>
27                </Window>
28
29                <Window Type="MenuWidgets/Listbox" Name="orxonox/QuestGUI/QuestsList">
30                    <Property Name="UnifiedAreaRect" Value="{{0,0},{0,30},{1,0},{1,0}}" />
31                    <Event Name="ItemSelectionChanged" Function="QuestGUI.changeQuest_clicked"/>
32                </Window>
33            </Window>
34
35            <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/MainWindow/RightPanel">
36                <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0,30},{1,0},{1,0}}" />
37
38                <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Title">
39                    <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{0,30}}" />
40                    <Property Name="Text" Value="Quest Title"/>
41                </Window>
42
43                <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/QuestGUI/Quest/ScrollWrapper">
44                    <Property Name="UnifiedAreaRect" Value="{{0,0},{0,30},{1,-4},{1,-4}}" />
45
46                    <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Wrapper">
47                        <Property Name="UnifiedAreaRect" Value="{{0,5},{0,5},{1,-5},{0,0}}" />
48                        <Property Name="FrameEnabled" Value="false" />
49                        <Property Name="Alpha" Value="0" />
50
51                        <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Description">
52                            <Property Name="UnifiedAreaRect" Value="{{0,5},{0,0},{1,-5},{0,0}}" />
53                            <Property Name="InheritsAlpha" Value="False" />
54                            <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
55                            <Property Name="VertFormatting" Value="TopAligned" />
56                            <Property Name="FrameEnabled" Value="false" />
57                            <Property Name="Text" Value="Quest Description"/>
58                        </Window>
59
60                        <Window Type="MenuWidgets/Listbox" Name="orxonox/QuestGUI/Quest/SubquestsList">
61                            <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
62                            <Property Name="InheritsAlpha" Value="False" />
63                            <Event Name="ItemSelectionChanged" Function="QuestGUI.changeToSubquest_clicked"/>
64                        </Window>
65
66                        <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Hints">
67                            <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{0,0}}" />
68                            <Property Name="InheritsAlpha" Value="False" />
69                            <Property Name="VertFormatting" Value="TopAligned" />
70                            <Property Name="FrameEnabled" Value="false" />
71                            <Property Name="Text" Value="Hints:" />
72                        </Window>
73                    </Window>
74                </Window>
75            </Window>
76        </Window>
77    </Window>
78</GUILayout>
Note: See TracBrowser for help on using the repository browser.