Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/layouts/InGameMenu.layout @ 6361

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

Removed empty lines.
Adjusted size of boxes in KeyBindMenu so that the text is displayed properly.
Regarding the bug: Found the reason why this happens. The problem is, that apparently CEGUI doesn't allow for windows bigger than the displayed screen, which means, that any window that is bigger than the scrren size isn'f fully displayed. I have no idea how to circumvent this, but I'll keep looking.

File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="DefaultWindow" Name="orxonox/InGameMenu_RootWindow" >
5        <Property Name="InheritsAlpha" Value="False" />
6        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
7        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
8        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_ReturnButton" >
9            <Property Name="Font" Value="BlueHighway-12" />
10            <Property Name="Text" Value="Return to Game" />
11            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
12            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
13            <Property Name="Alpha" Value="0.7" />
14            <Event Name="Clicked" Function="InGameMenu.button_return_clicked"/>
15        </Window>
16        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_MainMenuButton" >
17            <Property Name="Font" Value="BlueHighway-12" />
18            <Property Name="Text" Value="Main Menu" />
19            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
20            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4625,0},{0.6,0},{0.5125,0}}" />
21            <Property Name="Alpha" Value="0.7" />
22            <Event Name="Clicked" Function="InGameMenu.button_mainmenu_clicked"/>
23        </Window>
24        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_SettingsButton" >
25            <Property Name="Font" Value="BlueHighway-12" />
26            <Property Name="Text" Value="Settings" />
27            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
28            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5625,0},{0.6,0},{0.6125,0}}" />
29            <Property Name="Alpha" Value="0.7" />
30            <Event Name="Clicked" Function="InGameMenu.button_settings_clicked"/>
31        </Window>
32        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_QuitButton" >
33            <Property Name="Font" Value="BlueHighway-12" />
34            <Property Name="Text" Value="Quit" />
35            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
36            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
37            <Property Name="Alpha" Value="0.7" />
38            <Event Name="Clicked" Function="InGameMenu.button_quit_clicked"/>
39        </Window>
40    </Window>
41</GUILayout>
Note: See TracBrowser for help on using the repository browser.