Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestate/data/gui/layouts/InGameTest.layout @ 7129

Last change on this file since 7129 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: 476 bytes
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3    <Window Type="DefaultGUISheet" Name="orxonox/TestWindow">
4    <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/>
5
6        <Window Type="MenuWidgets/Button" Name="orxonox/TestButton">
7            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.528,0}}"/>
8            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
9            <Property Name="Text" Value="NoFunction"/>
10        </Window>
11
12    </Window>
13</GUILayout>
Note: See TracBrowser for help on using the repository browser.