Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/gui/layouts/DragDropDemo.layout @ 5285

Last change on this file since 5285 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: 4.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="DefaultWindow" Name="Root" >
5
6        <Window Type="WindowsLook/FrameWindow" Name="Root/MainWindow" >
7            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.25,0},{0.75,0},{0.75,0}" />
8            <Property Name="Text" Value="Drag and Drop Demo" />
9            <Property Name="RollUpEnabled" Value="False" />
10            <Property Name="SizingEnabled" Value="False" />
11
12            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot1" >
13                <Property Name="UnifiedPosition" Value="{{0.05,0},{0.13,0}}" />
14                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
15
16                <Window Type="DragContainer" Name="DragContainer1" >
17                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.05,0},{0.95,0},{0.95,0}" />
18
19                    <Window Type="WindowsLook/StaticImage" Name="DragContainer1/Image" >
20                        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}" />
21                        <Property Name="Image" Value="set:DriveIcons image:Lime" />
22                        <Property Name="MousePassThroughEnabled" Value="True" />
23                    </Window>
24
25                </Window>
26
27            </Window>
28
29            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot2" >
30                <Property Name="UnifiedPosition" Value="{{0.28,0},{0.13,0}}" />
31                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
32            </Window>
33
34            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot3" >
35                <Property Name="UnifiedPosition" Value="{{0.51,0},{0.13,0}}" />
36                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
37            </Window>
38
39            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot4" >
40                <Property Name="UnifiedPosition" Value="{{0.74,0},{0.13,0}}" />
41                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
42            </Window>
43
44            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot5" >
45                <Property Name="UnifiedPosition" Value="{{0.05,0},{0.36,0}}" />
46                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
47            </Window>
48
49            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot6" >
50                <Property Name="UnifiedPosition" Value="{{0.28,0},{0.36,0}}" />
51                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
52
53                <Window Type="DragContainer" Name="DragContainer2" >
54                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.05,0},{0.95,0},{0.95,0}" />
55
56                    <Window Type="WindowsLook/StaticImage" Name="DragContainer2/Image" >
57                        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}" />
58                        <Property Name="Image" Value="set:DriveIcons image:GlobalDrive" />
59                        <Property Name="MousePassThroughEnabled" Value="True" />
60                    </Window>
61
62                </Window>
63
64            </Window>
65
66            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot7" >
67                <Property Name="UnifiedPosition" Value="{{0.51,0},{0.36,0}}" />
68                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
69            </Window>
70
71            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot8" >
72                <Property Name="UnifiedPosition" Value="{{0.74,0},{0.36,0}}" />
73                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
74            </Window>
75
76            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot9" >
77                <Property Name="UnifiedPosition" Value="{{0.05,0},{0.59,0}}" />
78                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
79            </Window>
80
81            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot10" >
82                <Property Name="UnifiedPosition" Value="{{0.28,0},{0.59,0}}" />
83                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
84            </Window>
85
86            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot11" >
87                <Property Name="UnifiedPosition" Value="{{0.51,0},{0.59,0}}" />
88                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
89            </Window>
90
91            <Window Type="WindowsLook/Static" Name="Root/MainWindow/Slot12" >
92                <Property Name="UnifiedPosition" Value="{{0.74,0},{0.59,0}}" />
93                <Property Name="UnifiedSize" Value="{{0.2,0},{0.2,0}}" />
94            </Window>
95
96        </Window>
97
98    </Window>
99</GUILayout>
100
Note: See TracBrowser for help on using the repository browser.