Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/consolecommands2/data/gui/layouts/Demo8.layout @ 7864

Last change on this file since 7864 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 7.9 KB
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3<Window Type="DefaultGUISheet" Name="root">
4    <Window Type="DefaultGUISheet" Name="Demo8">
5        <Property Name="UnifiedMaxSize" Value="{{1,0},{2,0}}" />
6        <Property Name="UnifiedSize" Value="{{1,0},{2,0}}" />
7
8        <Window Type="TaharezLook/LargeVerticalScrollbar" Name="Demo8/ViewScroll">
9            <Property Name="UnifiedPosition" Value="{{0,0},{0,0}}" />
10            <Property Name="UnifiedSize" Value="{{0.03,0},{0.75,0}}" />
11            <Property Name="DocumentSize" Value="2" />
12            <Property Name="PageSize" Value="1" />
13            <Property Name="StepSize" Value="0.01" />
14            <Property Name="OverlapSize" Value="0.5" />
15            <Property Name="Tooltip" Value="This scrollbar will scroll the window layout." />
16        </Window>
17
18        <Window Type="TaharezLook/FrameWindow" Name="Demo8/Window1">
19            <Property Name="UnifiedPosition" Value="{{0.05,0},{0.1,0}}" />
20            <Property Name="UnifiedMaxSize" Value="{{0.5,0},{1,0}}" />
21            <Property Name="UnifiedMinSize" Value="{{0,128},{0,128}}" />
22            <Property Name="UnifiedSize" Value="{{0.4,0},{0.3,0}}" />
23            <Property Name="Text" Value="Demo 8 - Listbox Demo" />
24            <Property Name="Tooltip" Value="Window shows a simple Listbox demo." />
25
26            <Window Type="TaharezLook/Listbox" Name="Demo8/Window1/Listbox">
27                <Property Name="UnifiedPosition" Value="{{0.05,0},{0.1,0}}" />
28                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
29                <Property Name="UnifiedSize" Value="{{0.9,0},{0.33,0}}" />
30                <Property Name="Tooltip" Value="Listbox containing the items you have added." />
31            </Window>
32
33            <Window Type="TaharezLook/StaticText" Name="Demo8/Window1/Controls">
34                <Property Name="UnifiedPosition" Value="{{0.05,0},{0.45,0}}" />
35                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
36                <Property Name="UnifiedSize" Value="{{0.9,0},{0.5,0}}" />
37
38                <Window Type="TaharezLook/HorizontalScrollbar" Name="Demo8/Window1/Controls/Red">
39                    <Property Name="UnifiedPosition" Value="{{0.05,0},{0.05,0}}" />
40                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
41                    <Property Name="UnifiedSize" Value="{{0.9,0},{0.06,0}}" />
42                    <Property Name="DocumentSize" Value="1" />
43                    <Property Name="PageSize" Value="0.0625" />
44                    <Property Name="StepSize" Value="0.00392" />
45                    <Property Name="OverlapSize" Value="0.00392" />
46                    <Property Name="Tooltip" Value="Slider to adjust the red colour component." />
47                </Window>
48
49                <Window Type="TaharezLook/HorizontalScrollbar" Name="Demo8/Window1/Controls/Green">
50                    <Property Name="UnifiedPosition" Value="{{0.05,0},{0.12,0}}" />
51                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
52                    <Property Name="UnifiedSize" Value="{{0.9,0},{0.06,0}}" />
53                    <Property Name="DocumentSize" Value="1" />
54                    <Property Name="PageSize" Value="0.0625" />
55                    <Property Name="StepSize" Value="0.00392" />
56                    <Property Name="OverlapSize" Value="0.00392" />
57                    <Property Name="Tooltip" Value="Slider to adjust the green colour component." />
58                </Window>
59
60                <Window Type="TaharezLook/HorizontalScrollbar" Name="Demo8/Window1/Controls/Blue">
61                    <Property Name="UnifiedPosition" Value="{{0.05,0},{0.19,0}}" />
62                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
63                    <Property Name="UnifiedSize" Value="{{0.9,0},{0.06,0}}" />
64                    <Property Name="DocumentSize" Value="1" />
65                    <Property Name="PageSize" Value="0.0625" />
66                    <Property Name="StepSize" Value="0.00392" />
67                    <Property Name="OverlapSize" Value="0.00392" />
68                    <Property Name="Tooltip" Value="Slider to adjust the blue colour component." />
69                </Window>
70
71                <Window Type="TaharezLook/StaticImage" Name="Demo8/Window1/Controls/ColourSample">
72                    <Property Name="UnifiedPosition" Value="{{0.05,0},{0.26,0}}" />
73                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
74                    <Property Name="UnifiedSize" Value="{{0.9,0},{0.1,0}}" />
75                    <Property Name="Image" Value="set:TaharezLook image:MultiListSelectionBrush" />
76                    <Property Name="ImageColours" Value="tl:0 tr:0 bl:0 br:0" />
77                    <Property Name="Tooltip" Value="Shows a sample of the selected colour." />
78                </Window>
79
80                <Window Type="TaharezLook/Editbox" Name="Demo8/Window1/Controls/Editbox">
81                    <Property Name="UnifiedPosition" Value="{{0.05,0},{0.38,0}}" />
82                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
83                    <Property Name="UnifiedSize" Value="{{0.6,0},{0.15,0}}" />
84                    <Property Name="Tooltip" Value="Enter the text for a new Listbox item here." />
85                </Window>
86
87                <Window Type="TaharezLook/Button" Name="Demo8/Window1/Controls/Add">
88                    <Property Name="UnifiedPosition" Value="{{0.68,0},{0.38,0}}" />
89                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
90                    <Property Name="UnifiedSize" Value="{{0.3,0},{0.15,0}}" />
91                    <Property Name="Text" Value="Add" />
92                    <Property Name="Tooltip" Value="Adds a new item to the Listbox." />
93                </Window>
94
95                <Window Type="TaharezLook/StaticText" Name="Demo8/Window1/Controls/ins1">
96                    <Property Name="UnifiedPosition" Value="{{0.05,0},{0.55,0}}" />
97                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
98                    <Property Name="UnifiedSize" Value="{{0.9,0},{0.4,0}}" />
99                    <Property Name="HorzFormatting" Value="WordWrapCentred" />
100                    <Property Name="Text" Value="Use this panel to add items.  The scrollbars change the selection colour." />
101                    <Property Name="Tooltip" Value="Information panel." />
102                </Window>
103            </Window>
104        </Window>
105
106        <Window Type="TaharezLook/FrameWindow" Name="Demo8/Window2">
107            <Property Name="UnifiedPosition" Value="{{0.55,0},{0.1,0}}" />
108            <Property Name="UnifiedMaxSize" Value="{{0.5,0},{1,0}}" />
109            <Property Name="UnifiedMinSize" Value="{{0,128},{0,128}}" />
110            <Property Name="UnifiedSize" Value="{{0.4,0},{0.3,0}}" />
111            <Property Name="Text" Value="Demo 8 - Information Window" />
112            <Property Name="Tooltip" Value="Contains some StaticText information panels" />
113
114            <Window Type="TaharezLook/StaticText" Name="Demo8/Window2/Info">
115                <Property Name="UnifiedPosition" Value="{{0.05,0},{0.1,0}}" />
116                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
117                <Property Name="UnifiedSize" Value="{{0.9,0},{0.3,0}}" />
118                <Property Name="HorzFormatting" Value="WordWrapCentred" />
119                <Property Name="Text" Value="The panel below gives some information about the item under the mouse." />
120            </Window>
121   
122            <Window Type="TaharezLook/StaticText" Name="Demo8/Window2/Tips">
123                <Property Name="UnifiedPosition" Value="{{0.05,0},{0.5,0}}" />
124                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
125                <Property Name="UnifiedSize" Value="{{0.9,0},{0.4,0}}" />
126                <Property Name="HorzFormatting" Value="WordWrapCentred" />
127                <Property Name="Text" Value="We removed this, and now use proper Tooltips instead!" />
128            </Window>
129        </Window>
130    </Window>
131</Window>
132</GUILayout>
Note: See TracBrowser for help on using the repository browser.