Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/ChatBox.layout @ 11176

Last change on this file since 11176 was 7612, checked in by dafrick, 14 years ago

Reverting a change that I made some time ago.
It turns out, that CEGUI doesn't like it (on some machines, expecially on tardis) if Events for a window are defined after the child windows are defined in the .layout file.
So putting it above the child windows should be fine.

  • Property svn:eol-style set to native
File size: 1.7 KB
RevLine 
[6596]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
[6870]4    <Window Type="DefaultWindow" Name="orxonox/ChatBox/Root" >
[6596]5        <Property Name="InheritsAlpha" Value="False" />
6        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
7        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
[7009]8        <Window Type="MenuWidgets/FrameWindow" Name="orxonox/ChatBox" >
[6596]9            <Property Name="Text" Value="Chat" />
10            <Property Name="InheritsAlpha" Value="False" />
11            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
12            <Property Name="TitlebarEnabled" Value="True" />
[6910]13            <!--<Property Name="UnifiedAreaRect" Value="{{0.01,0},{0.03,0},{0.6,0},{0.69375,0}}" />-->
14            <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.10,0},{0.98,0},{0.65,0}}" />
[7612]15            <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/>
[6846]16            <Window Type="MenuWidgets/Listbox" Name="orxonox/ChatBox/history" >
[6876]17                <Property Name="Font" Value="Monofur-10" />
[6596]18                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
19                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.078,0},{0.98,0},{1,-30}}" />
20            </Window>
[6846]21            <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox/input" >
22                <Property Name="Text" Value="" />
[6876]23                <Property Name="Font" Value="Monofur-10" />
[6846]24                <Property Name="MaxTextLength" Value="1073741823" />
[6596]25                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
26                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />
27            </Window>
28        </Window>
29    </Window>
30</GUILayout>
Note: See TracBrowser for help on using the repository browser.