Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/StoryModeMap_HS16/data/gui/layouts/CampaignMenu.layout @ 11308

Last change on this file since 11308 was 11308, checked in by marvinh, 4 years ago

Ein neuer Button wurde kreiert. Der JuuButton funktioniert nicht schlecht. Mit dem orxonox looknfeel und dem imageset wird er kreiert und gestaltet. Es braucht noch die richtige Formatierung, dass er richtig skaliert. Zudem muss der Text irgendwo noch erscheinen. entweder in einem anderen Button oder im selben. Studie des CEGUI waere hilfreich. Zudem muss der Diabled State noch machen, welcher die Planeten dunkler macht, dass man sieht welches Level schon gespielt wurde.

  • Property svn:eol-style set to native
File size: 5.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/CampaignBackground" >
5        <Property Name="FrameEnabled" Value="False" />
6        <Property Name="InheritsAlpha" Value="False" />
7        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
8        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1.0,0},{1.0,0}}" />
9        <Property Name="BackgroundEnabled" Value="False" />
10        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission1Button" >
11            <Property Name="Text" Value="Mission One" />
12            <Property Name="Visible" Value="False"/>
13            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
14            <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.75,0},{0.25,0},{0.95,0}}" />
15            <Event Name="Clicked" Function="CampaignMenu.Mission1Button_clicked"/>
16        </Window>
17        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission2Button" >
18            <Property Name="Text" Value="Fight in our Back" />
19            <Property Name="Visible" Value="False"/>
20            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
21            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.7,0},{0.5,0},{0.85,0}}" />
22            <Property Name="Disabled" Value="True" />
23            <Event Name="Clicked" Function="CampaignMenu.Mission2Button_clicked"/>
24        </Window>
25        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission3Button" >
26            <Property Name="Text" Value="Pirate Attack" />
27            <Property Name="Visible" Value="False"/>
28            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
29            <Property Name="UnifiedAreaRect" Value="{{0.685,0},{0.605,0},{0.75,0},{0.71,0}}" />
30            <Property Name="Disabled" Value="True" />
31            <Event Name="Clicked" Function="CampaignMenu.Mission3Button_clicked"/>
32        </Window>
33        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission4Button" >
34            <Property Name="Text" Value="Trip to Area 51" />
35            <Property Name="Visible" Value="False"/>
36            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
37            <Property Name="UnifiedAreaRect" Value="{{0.78,0},{0.48,0},{0.87,0},{0.59,0}}" />
38            <Property Name="Disabled" Value="True" />
39            <Event Name="Clicked" Function="CampaignMenu.Mission4Button_clicked"/>
40        </Window>
41        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission5Button" >
42            <Property Name="Text" Value="Area 51 under Fire" />
43            <Property Name="Visible" Value="False"/>
44            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
45            <Property Name="UnifiedAreaRect" Value="{{0.725,0},{0.27,0},{0.775,0},{0.37,0}}" />
46            <Property Name="Disabled" Value="True" />
47            <Event Name="Clicked" Function="CampaignMenu.Mission5Button_clicked"/>
48        </Window>
49        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission6Button" >
50            <Property Name="Text" Value="Escape the Bastards" />
51            <Property Name="Visible" Value="False"/>
52            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
53            <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.17,0},{0.65,0},{0.27,0}}" />
54            <Property Name="Disabled" Value="True" />
55            <Event Name="Clicked" Function="CampaignMenu.Mission6Button_clicked"/>
56        </Window>
57        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission7Button" >
58            <Property Name="Text" Value="Expedition to Sector 5C" />
59            <Property Name="Visible" Value="False"/>
60            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
61            <Property Name="UnifiedAreaRect" Value="{{0.47,0},{0.13,0},{0.525,0},{0.23,0}}" />
62            <Property Name="Disabled" Value="True" />
63            <Event Name="Clicked" Function="CampaignMenu.Mission7Button_clicked"/>
64        </Window>
65        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission8Button" >
66            <Property Name="Text" Value="Shuttle under Attack" />
67            <Property Name="Visible" Value="False"/>
68            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
69            <Property Name="UnifiedAreaRect" Value="{{0.33,0},{0.1,0},{0.38,0},{0.18,0}}" />
70            <Property Name="Disabled" Value="True" />
71            <Event Name="Clicked" Function="CampaignMenu.Mission8Button_clicked"/>
72        </Window>
73        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission9Button" >
74            <Property Name="Text" Value="Retaliation" />
75            <Property Name="Visible" Value="False"/>
76            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
77            <Property Name="UnifiedAreaRect" Value="{{0.18,0},{0.07,0},{0.24,0},{0.145,0}}" />
78            <Property Name="Disabled" Value="True" />
79            <Event Name="Clicked" Function="CampaignMenu.Mission9Button_clicked"/>
80        </Window>
81
82
83        <Window Type="MenuWidgets/Button" Name="orxonox/CampaignMenuBackButton" >
84            <Property Name="Text" Value="Back" />
85            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
86            <Property Name="UnifiedAreaRect" Value="{{0.75,0},{0.9,0},{0.95,0},{0.95,0}}" />
87            <Event Name="Clicked" Function="CampaignMenu.CampaignMenuBackButton_clicked"/>
88        </Window>
89        <Window Type="MenuWidgets/StaticText" Name="orxonox/CampaignMenuCongratulation" >
90            <Property Name="Text" Value="Campaign Completed!!!" />
91            <Property Name="Visible" Value="False"/>
92            <Property Name="InheritsAlpha" Value="False" />
93            <Property Name="HorzFormatting" Value="HorzCentred" />
94            <Property Name="VertFormatting" Value="TopAligned" />
95            <Property Name="UnifiedMaxSize" Value="{{2,1},{2,1}}" />
96            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.15,0},{0.6,0},{0.2,0}}" />
97        </Window>
98    </Window>
99</GUILayout>
Note: See TracBrowser for help on using the repository browser.