Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/OrxoKart_HS18/data/gui/layouts/Dialog.layout @ 12280

Last change on this file since 12280 was 11806, checked in by landauf, 7 years ago

migrated all ingame menus to cegui 0.8

  • Property svn:eol-style set to native
File size: 3.7 KB
Line 
1<?xml version='1.0' encoding='utf-8'?>
2<GUILayout version="4">
3    <Window name="DialogBackground" type="DefaultWindow">
4        <Property name="InheritsAlpha" value="False" />
5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
7        <Window name="Options" type="MenuWidgets/StaticText">
8            <Property name="Alpha" value="0.8" />
9            <Property name="InheritsAlpha" value="False" />
10            <Property name="HorzFormatting" value="CentreAligned" />
11            <Property name="MaxSize" value="{{1,0},{1,0}}" />
12            <Property name="VertFormatting" value="TopAligned" />
13            <Property name="Area" value="{{0.15,0},{0.15,0},{0.85,0},{0.8,0}}" />
14            <Window name="Person" type="MenuWidgets/StaticText">
15                <Property name="Alpha" value="0.8" />
16                <Property name="InheritsAlpha" value="False" />
17                <Property name="HorzFormatting" value="LeftAligned" />
18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
19                <Property name="VertFormatting" value="CentreAligned" />
20                <Property name="Area" value="{{0.05,0},{0.05,0},{0.25,0},{0.15,0}}" />
21            </Window>
22            <Window name="QuestionWrapper" type="MenuWidgets/StaticText">
23                <Property name="InheritsAlpha" value="False" />
24                <Property name="MaxSize" value="{{1,0},{1,0}}" />
25                <Property name="HorzFormatting" value="CentreAligned" />
26                <Property name="VertFormatting" value="TopAligned" />
27                <Property name="Area" value="{{0.3,0},{0.05,0},{0.95,0},{0.45,0}}" />
28                <Window name="QuestionPane" type="MenuWidgets/ScrollablePane">
29                    <Property name="ContentArea" value="l:0 t:0 r:0 b:0" />
30                    <Property name="HorzStepSize" value="0.005" />
31                    <Property name="VertStepSize" value="0.005" />
32                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
33                    <Property name="HorzOverlapSize" value="0.01" />
34                    <Property name="Area" value="{{0,0},{0,0},{0.997,0},{0.997,0}}" />
35                    <Property name="VertOverlapSize" value="0.01" />
36                    <Property name="HorzScrollPosition" value="0" />
37                    <Property name="VertScrollPosition" value="0" />
38                    <Window name="Question" type="MenuWidgets/StaticText">
39                        <Property name="Alpha" value="0.8" />
40                        <Property name="InheritsAlpha" value="False" />
41                        <Property name="HorzFormatting" value="WordWrapLeftAligned" />
42                        <Property name="VertFormatting" value="TopAligned" />
43                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
44                        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
45                    </Window>
46                </Window>
47            </Window>
48            <Window name="AnsListbox" type="MenuWidgets/Listbox">
49                <Property name="MaxSize" value="{{1,0},{1,0}}" />
50                <Property name="Area" value="{{0.05,0},{0.5,0},{0.95,0},{0.85,0}}" />
51                <Event function="Dialog.answer_changed" name="SelectionChanged" />
52            </Window>
53            <Window name="SayButton" type="MenuWidgets/Button">
54                <Property name="Text" value="Say" />
55                <Property name="MaxSize" value="{{1,0},{1,0}}" />
56                <Property name="Area" value="{{0.425,0},{0.9,0},{0.575,0},{0.975,0}}" />
57                <Event function="Dialog.Button_clicked" name="Clicked" />
58            </Window>
59        </Window>
60    </Window>
61</GUILayout>
Note: See TracBrowser for help on using the repository browser.