2006-10-10 05:23:38 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
2007-08-01 19:37:51 +00:00
|
|
|
<name>chat-full</name>
|
2006-10-10 05:23:38 +00:00
|
|
|
<modal>false</modal>
|
|
|
|
<layout>vbox</layout>
|
2009-01-10 22:47:36 +00:00
|
|
|
<resizable>true</resizable>
|
2009-01-29 19:50:24 +00:00
|
|
|
<x>-20</x>
|
|
|
|
<y>20</y>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
2009-01-28 22:02:38 +00:00
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>-</legend>
|
|
|
|
<pref-width>16</pref-width>
|
|
|
|
<pref-height>16</pref-height>
|
|
|
|
<border>2</border>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>chat</dialog-name>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<empty><stretch>1</stretch></empty>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>Multiplayer Chat</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<empty><stretch>1</stretch></empty>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend></legend>
|
|
|
|
<pref-width>16</pref-width>
|
|
|
|
<pref-height>16</pref-height>
|
|
|
|
<border>2</border>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
2007-03-26 15:25:27 +00:00
|
|
|
<hrule/>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
|
|
|
<textbox>
|
|
|
|
<halign>fill</halign>
|
2009-01-10 22:47:36 +00:00
|
|
|
<valign>fill</valign>
|
|
|
|
<stretch>true</stretch>
|
2009-01-29 19:50:24 +00:00
|
|
|
<pref-width>350</pref-width>
|
|
|
|
<pref-height>150</pref-height>
|
2009-01-28 22:02:38 +00:00
|
|
|
<padding>5</padding>
|
2006-10-10 05:23:38 +00:00
|
|
|
<slider>20</slider>
|
|
|
|
<live>true</live>
|
|
|
|
<wrap>true</wrap>
|
|
|
|
<editable>false</editable>
|
2009-01-29 18:51:10 +00:00
|
|
|
<top-line>-1</top-line>
|
2007-08-01 19:37:51 +00:00
|
|
|
<property>/sim/multiplay/chat-history</property>
|
2006-10-10 05:23:38 +00:00
|
|
|
</textbox>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
2009-01-28 22:02:38 +00:00
|
|
|
<padding>4</padding>
|
2007-08-01 20:06:16 +00:00
|
|
|
|
2006-10-10 05:23:38 +00:00
|
|
|
<input>
|
2009-01-28 22:02:38 +00:00
|
|
|
<name>compose</name>
|
|
|
|
<stretch>true</stretch>
|
|
|
|
<halign>fill</halign>
|
|
|
|
<stretch>true</stretch>
|
|
|
|
<length>50</length>
|
|
|
|
<property>/sim/multiplay/chat-compose</property>
|
2007-08-01 20:06:16 +00:00
|
|
|
</input>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>Send</legend>
|
|
|
|
<default>true</default>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
2009-02-16 16:31:43 +00:00
|
|
|
<object-name>compose</object-name>
|
2006-10-10 05:23:38 +00:00
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 19:37:51 +00:00
|
|
|
var lchat = getprop("/sim/multiplay/chat-compose");
|
2006-10-10 05:23:38 +00:00
|
|
|
if (lchat != "")
|
|
|
|
{
|
|
|
|
setprop("/sim/multiplay/chat", lchat);
|
2007-08-01 19:37:51 +00:00
|
|
|
setprop("/sim/multiplay/chat-compose", "");
|
2007-08-01 20:06:16 +00:00
|
|
|
gui.dialog_update("chat-full", "compose");
|
|
|
|
}
|
2006-10-10 05:23:38 +00:00
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
</PropertyList>
|