Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestate/data/gui/layouts/CreditsMenu.layout @ 7047

Last change on this file since 7047 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: 2.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/CreditsBackground" >
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},{1,0}}" />
9        <Property Name="BackgroundEnabled" Value="False" />
10        <Window Type="MenuWidgets/StaticText" Name="orxonox/CreditsWindow" >
11            <Property Name="Text" Value="Credits" />
12            <Property Name="Alpha" Value="0.8" />
13            <Property Name="HorzFormatting" Value="HorzCentred" />
14            <Property Name="InheritsAlpha" Value="False" />
15            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
16            <Property Name="VertFormatting" Value="TopAligned" />
17            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" />
18            <Window Type="MenuWidgets/StaticText" Name="orxonox/CreditsText" >
19                <Property Name="Text">Orxonox version 0.0.3
20
21Programming Language:  C++ - lua - tcl
22Environment:  OpenAL - Ogre - OIS - CEGUI - enet - ODE
23Licence:  GNU General Public Licence - Creative Commons
24
25http://www.orxonox.net</Property>
26                <Property Name="TextColours" Value="FF4444FF" />
27                <Property Name="InheritsAlpha" Value="False" />
28                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
29                <Property Name="HorzFormatting" Value="HorzCentred" />
30                <Property Name="VertFormatting" Value="TopAligned" />
31                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.95,0},{0.9,0}}" />
32            </Window>
33        </Window>
34        <Window Type="MenuWidgets/Button" Name="orxonox/CreditsBackButton" >
35            <Property Name="Text" Value="Back" />
36            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
37            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
38            <Event Name="Clicked" Function="CreditsMenu.CreditsBackButton_clicked"/>
39        </Window>
40    </Window>
41</GUILayout>
Note: See TracBrowser for help on using the repository browser.