1
0
Fork 0

Modified Files:

model-howto.html: Update pick animation docs.
This commit is contained in:
frohlich 2007-01-07 12:13:22 +00:00
parent 98a6605da5
commit c089606d2b

View file

@ -1310,20 +1310,40 @@ the same that you would set in <property-base>.
<pre>&lt;animation&gt;
&lt;type&gt;pick&lt;/type&gt;
&lt;object-name&gt;Button&lt;/object-name&gt;
&lt;repeatable&gt;true&lt;/repeatable&gt;
&lt;interval-sec&gt;0.1&lt;/interval-sec&gt;
&lt;binding&gt;
&lt;command&gt;property-assign&lt;/command&gt;
&lt;property&gt;instrumentation/button-pressed&lt;/property&gt;
&lt;value&gt;1&lt;/value&gt;
&lt;/binding&gt;
&lt;mod-up&gt;
&lt;action&gt;
&lt;button&gt;0&lt;/button&gt;
&lt;repeatable&gt;true&lt;/repeatable&gt;
&lt;interval-sec&gt;0.1&lt;/interval-sec&gt;
&lt;binding&gt;
&lt;command&gt;property-assign&lt;/command&gt;
&lt;property&gt;instrumentation/button-pressed&lt;/property&gt;
&lt;value&gt;0&lt;/value&gt;
&lt;property&gt;instrumentation/button0-pressed&lt;/property&gt;
&lt;value&gt;1&lt;/value&gt;
&lt;/binding&gt;
&lt;/mod-up&gt;
&lt;mod-up&gt;
&lt;binding&gt;
&lt;command&gt;property-assign&lt;/command&gt;
&lt;property&gt;instrumentation/button0-pressed&lt;/property&gt;
&lt;value&gt;0&lt;/value&gt;
&lt;/binding&gt;
&lt;/mod-up&gt;
&lt;/action&gt;
&lt;action&gt;
&lt;button&gt;1&lt;/button&gt;
&lt;repeatable&gt;true&lt;/repeatable&gt;
&lt;interval-sec&gt;0.1&lt;/interval-sec&gt;
&lt;binding&gt;
&lt;command&gt;property-assign&lt;/command&gt;
&lt;property&gt;instrumentation/button1-pressed&lt;/property&gt;
&lt;value&gt;1&lt;/value&gt;
&lt;/binding&gt;
&lt;mod-up&gt;
&lt;binding&gt;
&lt;command&gt;property-assign&lt;/command&gt;
&lt;property&gt;instrumentation/button1-pressed&lt;/property&gt;
&lt;value&gt;0&lt;/value&gt;
&lt;/binding&gt;
&lt;/mod-up&gt;
&lt;/action&gt;
&lt;/animation&gt;</pre>
</blockquote>
</p>