Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/data_stripped/gui/layouts/Demo7Windows.layout @ 5675

Last change on this file since 5675 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: 9.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<GUILayout>
3    <Window Type="DefaultWindow" Name="root">
4        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
5        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
6        <Window Type="TaharezLook/FrameWindow" Name="Demo7/Window1" >
7            <Property Name="Text" Value="Demo 7 - Window 1" />
8            <Property Name="UnifiedMaxSize" Value="{{0.8,0},{0.8,0}}" />
9            <Property Name="UnifiedMinSize" Value="{{0.2,0},{0.2,0}}" />
10            <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.2,0},{0.7,0},{0.7,0}}" />
11            <Property Name="CloseButtonEnabled" Value="False" />
12            <Window Type="TaharezLook/Button" Name="Demo7/Window1/Quit" >
13                <Property Name="Text" Value="Exit Demo" />
14                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
15                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.1,0},{0.27,0},{0.2,0}}" />
16            </Window>
17            <Window Type="TaharezLook/RadioButton" Name="Demo7/Window1/Radio1" >
18                <Property Name="Text" Value="Option 1" />
19                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
20                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.23,0},{0.27,0},{0.305,0}}" />
21            </Window>
22            <Window Type="TaharezLook/RadioButton" Name="Demo7/Window1/Radio2" >
23                <Property Name="ID" Value="1" />
24                <Property Name="Text" Value="Option 2" />
25                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
26                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.306,0},{0.27,0},{0.381,0}}" />
27            </Window>
28            <Window Type="TaharezLook/RadioButton" Name="Demo7/Window1/Radio3" >
29                <Property Name="ID" Value="2" />
30                <Property Name="Text" Value="Option 3" />
31                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
32                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.382,0},{0.27,0},{0.457,0}}" />
33            </Window>
34            <Window Type="TaharezLook/Checkbox" Name="Demo7/Window1/Checkbox" >
35                <Property Name="Text" Value="Enable some option" />
36                <Property Name="Selected" Value="True" />
37                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
38                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.48,0},{0.47,0},{0.555,0}}" />
39            </Window>
40            <Window Type="TaharezLook/StaticText" Name="Demo7/Window1/Text1" >
41                <Property Name="Text" Value="This is a re-creation of the original 'Demo7' preview application, it shows many of the CEGUI widgets." />
42                <Property Name="FrameEnabled" Value="False" />
43                <Property Name="HorzFormatting" Value="WordWrapCentred" />
44                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
45                <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.1,0},{0.95,0},{0.6,0}}" />
46                <Property Name="BackgroundEnabled" Value="False" />
47            </Window>
48            <Window Type="TaharezLook/Editbox" Name="Demo7/Window1/Editbox" >
49                <Property Name="Text" Value="Single-line editbox" />
50                <Property Name="MaxTextLength" Value="1073741823" />
51                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
52                <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.6,0},{0.8,0},{0.7,0}}" />
53            </Window>
54            <Window Type="TaharezLook/LargeVerticalScrollbar" Name="Demo7/Window1/Scrollbar1" >
55                <Property Name="PageSize" Value="0" />
56                <Property Name="StepSize" Value="1" />
57                <Property Name="OverlapSize" Value="0" />
58                <Property Name="DocumentSize" Value="1" />
59                <Property Name="ScrollPosition" Value="0" />
60                <Property Name="UnifiedMaxSize" Value="{{0.03,0},{1,0}}" />
61                <Property Name="UnifiedMinSize" Value="{{0.01,0},{0.1,0}}" />
62                <Property Name="UnifiedAreaRect" Value="{{0.06,0},{0.6,0},{0.12,0},{0.98,0}}" />
63            </Window>
64            <Window Type="TaharezLook/Slider" Name="Demo7/Window1/Slider1" >
65                <Property Name="CurrentValue" Value="1" />
66                <Property Name="MaximumValue" Value="1" />
67                <Property Name="ClickStepSize" Value="0.01" />
68                <Property Name="UnifiedMaxSize" Value="{{0.03,0},{1,0}}" />
69                <Property Name="UnifiedMinSize" Value="{{0.01,0},{0.1,0}}" />
70                <Property Name="UnifiedAreaRect" Value="{{0.9,0},{0.625,0},{0.93,0},{0.905,0}}" />
71            </Window>
72        </Window>
73        <Window Type="TaharezLook/FrameWindow" Name="Demo7/Window2" >
74            <Property Name="Text" Value="Demo 7 - Window 2" />
75            <Property Name="UnifiedMaxSize" Value="{{0.8,0},{0.8,0}}" />
76            <Property Name="UnifiedMinSize" Value="{{0.2,0},{0.2,0}}" />
77            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.1,0},{0.9,0},{0.7,0}}" />
78            <Property Name="CloseButtonEnabled" Value="False" />
79            <Window Type="TaharezLook/ProgressBar" Name="Demo7/Window2/Progbar1" >
80                <Property Name="StepSize" Value="0.01" />
81                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
82                <Property Name="CurrentProgress" Value="0.33" />
83                <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.1,0},{0.98,0},{0.15,0}}" />
84            </Window>
85            <Window Type="TaharezLook/AlternateProgressBar" Name="Demo7/Window2/Progbar2" >
86                <Property Name="StepSize" Value="0.01" />
87                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
88                <Property Name="CurrentProgress" Value="0.7" />
89                <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.16,0},{0.98,0},{0.21,0}}" />
90            </Window>
91            <Window Type="TaharezLook/ItemListbox" Name="Demo7/Window2/Listbox" >
92                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
93                <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.25,0},{0.46,0},{0.55,0}}" />
94                <Window Type="TaharezLook/ListboxItem" >
95                    <Property Name="Text" Value="Listbox Item 1" />
96                </Window>
97                <Window Type="TaharezLook/ListboxItem" >
98                    <Property Name="Text" Value="Listbox Item 2" />
99                </Window>
100                <Window Type="TaharezLook/ListboxItem" >
101                    <Property Name="Text" Value="Listbox Item 3" />
102                </Window>
103                <Window Type="TaharezLook/ListboxItem" >
104                    <Property Name="Text" Value="Listbox Item 4" />
105                </Window>
106                <Window Type="TaharezLook/ListboxItem" >
107                    <Property Name="Text" Value="Listbox Item 5" />
108                </Window>
109                <Window Type="TaharezLook/ListboxItem" >
110                    <Property Name="Text" Value="Listbox Item 6" />
111                </Window>
112                <Window Type="TaharezLook/ListboxItem" >
113                    <Property Name="Text" Value="Listbox Item 7" />
114                </Window>
115            </Window>
116            <Window Type="TaharezLook/Combobox" Name="Demo7/Window2/Combobox" >
117                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
118                <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.25,0},{0.92,0},{0.7,0}}" />
119                <Property Name="MaxEditTextLength" Value="1073741823" />
120            </Window>
121            <Window Type="TaharezLook/MultiColumnList" Name="Demo7/Window2/MultiColumnList" >
122                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
123                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.6,0},{0.95,0},{0.98,0}}" />
124                <Property Name="ColumnHeader" Value="text:Server Name width:{0.33,0} id:0" />
125                <Property Name="ColumnHeader" Value="text:Address width:{0.5,0} id:1" />
126                <Property Name="ColumnHeader" Value="text:Ping width:{0.2,0} id:2" />
127            </Window>
128            <Window Type="TaharezLook/StaticImage" Name="Demo7/Window2/Image1" >
129                <Property Name="Image" Value="set:BackgroundImage image:full_image" />
130                <Property Name="FrameEnabled" Value="False" />
131                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
132                <Property Name="UnifiedAreaRect" Value="{{0.56,0},{0.35,0},{0.86,0},{0.55,0}}" />
133                <Property Name="BackgroundEnabled" Value="False" />
134            </Window>
135        </Window>
136        <Window Type="TaharezLook/FrameWindow" Name="Demo7/Window3" >
137            <Property Name="Text" Value="Demo 7 - Window 3" />
138            <Property Name="UnifiedMaxSize" Value="{{0.8,0},{0.8,0}}" />
139            <Property Name="UnifiedMinSize" Value="{{0.2,0},{0.2,0}}" />
140            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.4,0},{0.75,0},{0.9,0}}" />
141            <Property Name="CloseButtonEnabled" Value="False" />
142            <Window Type="TaharezLook/MultiLineEditbox" Name="Demo7/Window3/MLEditbox" >
143                <Property Name="Text">This text is a multiline text:
144Line 1
145Line 2
146Line 3</Property>
147                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
148                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.1,0},{0.98,0},{0.95,0}}" />
149            </Window>
150        </Window>
151    </Window>
152</GUILayout>
Note: See TracBrowser for help on using the repository browser.