Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/gui/layouts/ChatBox.layout @ 7040

Last change on this file since 7040 was 7009, checked in by dafrick, 14 years ago

Enabled the ChatBox to be closed by pressing the close button in the upper right corner of the frame window.

  • 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            <Window Type="MenuWidgets/Listbox" Name="orxonox/ChatBox/history" >
16                <Property Name="Font" Value="Monofur-10" />
17                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
18                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.078,0},{0.98,0},{1,-30}}" />
19            </Window>
20            <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox/input" >
21                <Property Name="Text" Value="" />
22                <Property Name="Font" Value="Monofur-10" />
23                <Property Name="MaxTextLength" Value="1073741823" />
24                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
25                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />
26            </Window>
27            <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/>
28        </Window>
29    </Window>
30</GUILayout>
Note: See TracBrowser for help on using the repository browser.