Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/kicklib/data/gui/layouts/ChatBox.layout @ 8274

Last change on this file since 8274 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
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="DefaultWindow" Name="orxonox/ChatBox/Root" >
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}}" />
8        <Window Type="MenuWidgets/FrameWindow" Name="orxonox/ChatBox" >
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" />
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}}" />
15            <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/>
16            <Window Type="MenuWidgets/Listbox" Name="orxonox/ChatBox/history" >
17                <Property Name="Font" Value="Monofur-10" />
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>
21            <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox/input" >
22                <Property Name="Text" Value="" />
23                <Property Name="Font" Value="Monofur-10" />
24                <Property Name="MaxTextLength" Value="1073741823" />
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.