Difference between revisions of "Game chat box"
From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Line 9: | Line 9: | ||
<pre> | <pre> | ||
− | + | <?xml version="1.0" ?> | |
+ | <GUILayout> | ||
+ | <Window Type="TaharezLook/FrameWindow" Name="/Chat"> | ||
+ | <Property Name="Position" Value="x:0.0 y:0.0" /> | ||
+ | <Property Name="Size" Value="w:0.25 h:0.25" /> | ||
+ | <Property Name="Alpha" Value="0.6" /> | ||
+ | <Window Type="DefaultWindow" Name="/Chat/Wnd"> | ||
+ | <Property Name="InheritsAlpha" Value="True" /> | ||
+ | <Property Name="Position" Value="x:0.0 y:0.00" /> | ||
+ | <Property Name="Size" Value="w:1 h:1" /> | ||
+ | <Window Type="TaharezLook/Listbox" Name="/Chat/Wnd/List"> | ||
+ | <Property Name="Position" Value="x:0.0 y:0.1" /> | ||
+ | <Property Name="Size" Value="w:1 h:0.77" /> | ||
+ | <Property Name="InheritsAlpha" Value="True" /> | ||
+ | <Property Name="ReadOnly" value = "True" /> | ||
+ | /Window> | ||
+ | <Window Type="TaharezLook/Editbox" Name="/Chat/Wnd/Edit" > | ||
+ | <Property Name="Position" Value="x:0.01 y:0.87" /> | ||
+ | <Property Name="Size" Value="w:0.98 h:0.12" /> | ||
+ | <Property Name="InheritsAlpha" Value="True" /> | ||
+ | /Window> | ||
+ | </Window> | ||
+ | </Window> | ||
+ | </GUILayout> | ||
</pre> | </pre> |
Revision as of 02:50, 5 July 2005
**4/7/05 - This is still work in progress**
Chat input at bottom = Editbox
Chat history at top = Listbox
layout file used :
<?xml version="1.0" ?> <GUILayout> <Window Type="TaharezLook/FrameWindow" Name="/Chat"> <Property Name="Position" Value="x:0.0 y:0.0" /> <Property Name="Size" Value="w:0.25 h:0.25" /> <Property Name="Alpha" Value="0.6" /> <Window Type="DefaultWindow" Name="/Chat/Wnd"> <Property Name="InheritsAlpha" Value="True" /> <Property Name="Position" Value="x:0.0 y:0.00" /> <Property Name="Size" Value="w:1 h:1" /> <Window Type="TaharezLook/Listbox" Name="/Chat/Wnd/List"> <Property Name="Position" Value="x:0.0 y:0.1" /> <Property Name="Size" Value="w:1 h:0.77" /> <Property Name="InheritsAlpha" Value="True" /> <Property Name="ReadOnly" value = "True" /> /Window> <Window Type="TaharezLook/Editbox" Name="/Chat/Wnd/Edit" > <Property Name="Position" Value="x:0.01 y:0.87" /> <Property Name="Size" Value="w:0.98 h:0.12" /> <Property Name="InheritsAlpha" Value="True" /> /Window> </Window> </Window> </GUILayout>