2009-01-29 23:57:57 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<name>model-view</name>
|
|
|
|
<x>5</x>
|
2009-01-31 19:30:31 +00:00
|
|
|
<y>3</y>
|
2009-01-29 23:57:57 +00:00
|
|
|
<layout>hbox</layout>
|
|
|
|
<default-padding>0</default-padding>
|
|
|
|
|
|
|
|
<color>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
<red>0</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
<alpha>0</alpha>
|
|
|
|
</color>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend><</legend>
|
2009-01-31 19:30:31 +00:00
|
|
|
<pref-width>20</pref-width>
|
|
|
|
<pref-height>20</pref-height>
|
2009-01-29 23:57:57 +00:00
|
|
|
<color>
|
2009-01-31 19:30:31 +00:00
|
|
|
<red>0.5</red>
|
|
|
|
<green>0.5</green>
|
|
|
|
<blue>0.5</blue>
|
|
|
|
<alpha>0.3</alpha>
|
2009-01-29 23:57:57 +00:00
|
|
|
</color>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.model_view_handler.next(-1)</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>></legend>
|
2009-01-31 19:30:31 +00:00
|
|
|
<pref-width>20</pref-width>
|
|
|
|
<pref-height>20</pref-height>
|
2009-01-29 23:57:57 +00:00
|
|
|
<color>
|
2009-01-31 19:30:31 +00:00
|
|
|
<red>0.5</red>
|
|
|
|
<green>0.5</green>
|
|
|
|
<blue>0.5</blue>
|
|
|
|
<alpha>0.3</alpha>
|
2009-01-29 23:57:57 +00:00
|
|
|
</color>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.model_view_handler.next(1)</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<whatever>
|
|
|
|
<pref-width>6</pref-width>
|
|
|
|
</whatever>
|
|
|
|
|
|
|
|
<text>
|
2009-01-31 19:30:31 +00:00
|
|
|
<pref-width>0</pref-width>
|
2009-01-29 23:57:57 +00:00
|
|
|
<live>1</live>
|
|
|
|
<property>/sim/current-view/model-view</property>
|
|
|
|
<color>
|
|
|
|
<red>1</red>
|
|
|
|
<green>1</green>
|
|
|
|
<blue>1</blue>
|
|
|
|
<alpha>1</alpha>
|
|
|
|
</color>
|
|
|
|
<font>
|
|
|
|
<name>HELVETICA_14</name>
|
|
|
|
</font>
|
|
|
|
</text>
|
2009-01-31 19:30:31 +00:00
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend/>
|
|
|
|
<pref-width>200</pref-width>
|
|
|
|
<border>0</border>
|
|
|
|
<color>
|
|
|
|
<red>1</red>
|
|
|
|
<green>1</green>
|
|
|
|
<blue>1</blue>
|
|
|
|
<alpha>0</alpha>
|
|
|
|
</color>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
var isopen = !!getprop("sim/gui/dialogs/model-view-select/open");
|
|
|
|
var toggle = isopen ? "dialog-close" : "dialog-show";
|
|
|
|
fgcommand(toggle, props.Node.new({ "dialog-name": "model-view-select" }));
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
2009-01-29 23:57:57 +00:00
|
|
|
</PropertyList>
|