Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/gui/layouts/VanillaConsole.layout @ 5327

Last change on this file since 5327 was 5162, checked in by rgrieder, 16 years ago

added some gui stuff. Standard stuff from Ogre media repo plus a lua script file.

File size: 2.2 KB
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3    <Window Type="Vanilla/FrameWindow" Name="Vanilla/Console">
4        <Property Name="AlwaysOnTop" Value="True" />
5        <Property Name="UnifiedMinSize" Value="{{0.2,0},{0.2,0}}" />
6        <Property Name="UnifiedMaxSize" Value="{{0.8,0},{0.8,0}}" />
7        <Property Name="UnifiedPosition" Value="{{0.5,0},{0.5,0}}" />
8        <Property Name="UnifiedSize" Value="{{0.5,0},{0.45,0}}" />
9        <Property Name="Text" Value="Console" />
10        <Property Name="CloseButtonEnabled" Value="False" />
11
12        <Window Type="Vanilla/Button" Name="Vanilla/Console/Submit">
13            <Property Name="ID" Value="1" />
14            <Property Name="VerticalAlignment" Value="Bottom" />
15            <Property Name="HorizontalAlignment" Value="Right" />
16            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
17            <Property Name="UnifiedPosition" Value="{{0,-7},{0,-7}}" />
18            <Property Name="UnifiedSize" Value="{{0.25,0},{0,30}}" />
19            <Property Name="Text" Value="Submit" />
20        </Window>
21
22        <Window Type="Vanilla/Editbox" Name="Vanilla/Console/Editbox">
23            <Property Name="ID" Value="2" />
24            <Property Name="VerticalAlignment" Value="Bottom" />
25            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
26            <Property Name="UnifiedPosition" Value="{{0,7},{0,-7}}" />
27            <Property Name="UnifiedSize" Value="{{0.75,-21},{0,30}}" />
28            <Property Name="Text" Value="" />
29        </Window>
30
31        <Window Type="Vanilla/MultiLineEditbox" Name="Vanilla/Console/History">
32            <Property Name="ID" Value="3" />
33            <Property Name="ReadOnly" Value="True" />
34            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
35            <Property Name="UnifiedPosition" Value="{{0,7},{0,35}}" />
36            <Property Name="UnifiedSize" Value="{{1,-14},{1,-75}}" />
37            <Property Name="Text">
38CEGUI Demo Console - F12 toggles this window
39         
40It's now easy to add multiline text property.
41Line 1
42<![CDATA[
43You can now put <xml>stuff</xml> in your property easly " " "
44]]>
45Line 2
46Line 3
47</Property>
48             
49        </Window>
50    </Window>
51</GUILayout>
Note: See TracBrowser for help on using the repository browser.