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>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>Multiplayer Chat</label>
|
|
|
|
</text>
|
|
|
|
|
2007-03-26 15:25:27 +00:00
|
|
|
<hrule/>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
|
|
|
<textbox>
|
|
|
|
<halign>fill</halign>
|
|
|
|
<pref-width>550</pref-width>
|
|
|
|
<pref-height>120</pref-height>
|
|
|
|
<slider>20</slider>
|
|
|
|
<live>true</live>
|
|
|
|
<wrap>true</wrap>
|
|
|
|
<editable>false</editable>
|
2007-08-01 19:37:51 +00:00
|
|
|
<property>/sim/multiplay/chat-history</property>
|
2006-10-10 05:23:38 +00:00
|
|
|
</textbox>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label></label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
2007-08-01 20:06:16 +00:00
|
|
|
|
2006-10-10 05:23:38 +00:00
|
|
|
<input>
|
2007-08-01 20:06:16 +00:00
|
|
|
<name>compose</name>
|
2006-10-10 05:23:38 +00:00
|
|
|
<stretch>true</stretch>
|
|
|
|
<halign>fill</halign>
|
|
|
|
<length>50</length>
|
2007-08-01 20:06:16 +00:00
|
|
|
<pref-width>500</pref-width>
|
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-full", "compose");
|
|
|
|
}
|
2006-10-10 05:23:38 +00:00
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label></label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<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>
|
2007-08-01 20:06:16 +00:00
|
|
|
|
2006-10-10 05:23:38 +00:00
|
|
|
<button>
|
|
|
|
<legend>Less ^</legend>
|
|
|
|
<default>false</default>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>chat</dialog-name>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
</group>
|
|
|
|
</PropertyList>
|