2006-10-10 05:23:38 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<name>chat</name>
|
|
|
|
<modal>false</modal>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
2007-08-01 20:06:16 +00:00
|
|
|
|
2006-10-10 05:23:38 +00:00
|
|
|
<input>
|
|
|
|
<name>compose</name>
|
2007-08-01 20:06:16 +00:00
|
|
|
<pref-width>500</pref-width>
|
2006-10-10 05:23:38 +00:00
|
|
|
<stretch>true</stretch>
|
|
|
|
<halign>fill</halign>
|
|
|
|
<length>50</length>
|
2007-08-01 19:37:51 +00:00
|
|
|
<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>
|
|
|
|
<key>Enter</key>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</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", "compose");
|
|
|
|
}
|
2006-10-10 05:23:38 +00:00
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>Close</legend>
|
|
|
|
<default>true</default>
|
|
|
|
<key>Esc</key>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>More v</legend>
|
|
|
|
<default>false</default>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
2007-08-01 19:37:51 +00:00
|
|
|
<dialog-name>chat-full</dialog-name>
|
2006-10-10 05:23:38 +00:00
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
2007-08-01 20:06:16 +00:00
|
|
|
|
2006-10-10 05:23:38 +00:00
|
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
</group>
|
|
|
|
</PropertyList>
|