2006-10-10 05:23:38 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<name>chat</name>
|
|
|
|
<modal>false</modal>
|
2009-01-28 22:02:38 +00:00
|
|
|
<resizable>true</resizable>
|
2009-01-29 19:50:24 +00:00
|
|
|
<x>-5</x>
|
|
|
|
<y>5</y>
|
2009-01-28 22:02:38 +00:00
|
|
|
<layout>hbox</layout>
|
|
|
|
<default-padding>5</default-padding>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
2009-01-28 22:02:38 +00:00
|
|
|
<color>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
<red>0.5</red>
|
|
|
|
<green>0.5</green>
|
|
|
|
<blue>0.5</blue>
|
|
|
|
<alpha>0.3</alpha>
|
|
|
|
</color>
|
2007-08-01 20:06:16 +00:00
|
|
|
|
2009-01-28 22:02:38 +00:00
|
|
|
<button-color>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
<red>0.5</red>
|
|
|
|
<green>0.5</green>
|
|
|
|
<blue>0.5</blue>
|
|
|
|
<alpha>0.3</alpha>
|
|
|
|
</button-color>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
2009-01-28 22:02:38 +00:00
|
|
|
<button>
|
|
|
|
<legend>Close</legend>
|
|
|
|
<pref-width>45</pref-width>
|
|
|
|
<pref-height>30</pref-height>
|
|
|
|
<equal>true</equal>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
<color>
|
|
|
|
<red alias="../../../button-color/red"/>
|
|
|
|
<green alias="../../../button-color/green"/>
|
|
|
|
<blue alias="../../../button-color/blue"/>
|
|
|
|
<alpha alias="../../../button-color/alpha"/>
|
|
|
|
</color>
|
|
|
|
</button>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
2009-01-28 22:02:38 +00:00
|
|
|
<button>
|
|
|
|
<legend>More</legend>
|
|
|
|
<equal>true</equal>
|
|
|
|
<pref-width>45</pref-width>
|
|
|
|
<pref-height>30</pref-height>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>chat-full</dialog-name>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
<color>
|
|
|
|
<red alias="../../../button-color/red"/>
|
|
|
|
<green alias="../../../button-color/green"/>
|
|
|
|
<blue alias="../../../button-color/blue"/>
|
|
|
|
<alpha alias="../../../button-color/alpha"/>
|
|
|
|
</color>
|
|
|
|
</button>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
2009-01-28 22:02:38 +00:00
|
|
|
<input>
|
|
|
|
<name>compose</name>
|
|
|
|
<pref-width>500</pref-width>
|
|
|
|
<stretch>true</stretch>
|
|
|
|
<halign>fill</halign>
|
|
|
|
<length>50</length>
|
|
|
|
<property>/sim/multiplay/chat-compose</property>
|
|
|
|
<color>
|
|
|
|
<red>0.5</red>
|
|
|
|
<green>0.5</green>
|
|
|
|
<blue>0.5</blue>
|
|
|
|
<alpha>0.3</alpha>
|
|
|
|
</color>
|
|
|
|
<color-legend>
|
|
|
|
<red>1</red>
|
|
|
|
<green>1</green>
|
|
|
|
<blue>1</blue>
|
|
|
|
<alpha>1</alpha>
|
|
|
|
</color-legend>
|
|
|
|
<font>
|
|
|
|
<name>FIXED_9x15</name>
|
|
|
|
</font>
|
|
|
|
</input>
|
2006-10-10 05:23:38 +00:00
|
|
|
|
2009-01-28 22:02:38 +00:00
|
|
|
<button>
|
|
|
|
<legend>Send</legend>
|
|
|
|
<default>true</default>
|
|
|
|
<pref-width>45</pref-width>
|
|
|
|
<pref-height>30</pref-height>
|
|
|
|
<equal>true</equal>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
var lchat = getprop("/sim/multiplay/chat-compose");
|
|
|
|
if (lchat != "")
|
|
|
|
{
|
|
|
|
setprop("/sim/multiplay/chat", lchat);
|
|
|
|
setprop("/sim/multiplay/chat-compose", "");
|
|
|
|
gui.dialog_update("chat", "compose");
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
<color>
|
|
|
|
<red alias="../../../button-color/red"/>
|
|
|
|
<green alias="../../../button-color/green"/>
|
|
|
|
<blue alias="../../../button-color/blue"/>
|
|
|
|
<alpha alias="../../../button-color/alpha"/>
|
|
|
|
</color>
|
|
|
|
</button>
|
2006-10-10 05:23:38 +00:00
|
|
|
</PropertyList>
|