source: trunk/examples/zoo/image/tool.xml @ 126

Last change on this file since 126 was 126, checked in by mmc, 19 years ago
  • Added a new <image> which can be used on both the input and the output side.
  • Added examples to the zoo for images and tables (energy viewer).
File size: 951 bytes
Line 
1<?xml version="1.0"?>
2<run>
3<tool>
4  <title>image</title>
5  <about>Example of a Rappture &lt;image&gt; object.
6
7Images are used to decorate input and show output.
8
9When you click the Simulate button, the input image will be rotated to produce the output image.
10  </about>
11  <command>
12    tclsh @tool/image.tcl @driver
13  </command>
14</tool>
15<input>
16  <loader>
17    <about>
18      <label>Image</label>
19      <description>Use this to load different images.</description>
20    </about>
21    <example>*.xml</example>
22    <default>nanohub.xml</default>
23  </loader>
24  <image>
25    <about><diffs>ignore</diffs></about>
26  </image>
27  <number id="angle">
28    <about>
29      <label>Rotate</label>
30      <description>Rotate image by this amount in degrees.</description>
31    </about>
32    <min>0</min>
33    <max>360</max>
34    <default>0</default>
35  </number>
36</input>
37<output>
38  <image id="outi">
39    <about><label>Rotated Image</label></about>
40  </image>
41</output>
42</run>
Note: See TracBrowser for help on using the repository browser.