summaryrefslogtreecommitdiff
path: root/server/xml
diff options
context:
space:
mode:
authordeva <deva>2008-07-29 12:52:50 +0000
committerdeva <deva>2008-07-29 12:52:50 +0000
commite388de9cf524977c36b523e31ad9d75816207ff5 (patch)
tree4845b6396c9ca071a11345ca5ce87077542d48d3 /server/xml
parent42512d40ef93f0f85d107a7dc6d58973f93a1d95 (diff)
Added configure option to remove pentominos support.
Diffstat (limited to 'server/xml')
-rw-r--r--server/xml/macros/example.xml33
1 files changed, 15 insertions, 18 deletions
diff --git a/server/xml/macros/example.xml b/server/xml/macros/example.xml
index f875747..eafcf33 100644
--- a/server/xml/macros/example.xml
+++ b/server/xml/macros/example.xml
@@ -19,12 +19,11 @@
lensmeter.right.cyl and
lensmeter.right.cyl.value and
lensmeter.right.cyl.timestamp )
- then
- timestamp = lensmeter.right.cyl.value
- value = lensmeter.right.cyl.value end
- end
+ then
+ timestamp = lensmeter.right.cyl.value
+ value = lensmeter.right.cyl.value
end
-
+
return value, timestamp
</map>
</maps>
@@ -44,7 +43,7 @@
<window name="mainwindow"
caption="Example Window"
width="300"
- height="400"
+ height="500"
layout="vbox">
<frame name="linse_frame" caption="Linser:" layout="vbox">
<frame name="linse_framea" layout="hbox">
@@ -61,18 +60,16 @@
</frame>
</frame>
<frame name="linse_frame" caption="FlereLinser:" layout="vbox">
- <frame name="linse_framea" layout="hbox">
- <label name="a" width="100" caption="Akse rotation2:"/>
- <lineedit name="axis2" regexp="[24]*" map="axis" lua="theanswer" value="244"/>
- </frame>
- <frame name="linse_frameb" layout="hbox">
- <label name="b" width="100" caption="Sphere2:"/>
- <lineedit name="sphere2" regexp="[24]*" lua="theanswer" value="42"/>
- </frame>
- <frame name="linse_framec" layout="hbox">
- <label name="c" width="100" caption="Cyl2:"/>
- <lineedit name="cyl2" regexp="[24]*" map="cyl" value=""/>
- </frame>
+ <multilist name="multilisttest" layout="hbox">
+ <items layout="hbox">
+ <item value="Pillemigselvinavlen"/>
+ <item value="Øffegøj"/>
+ </items>
+ <input>
+ <label name="c" width="100" caption="Cyl2:"/>
+ <lineedit name="cyl2" regexp="[24]*" map="cyl" value=""/>
+ </input>
+ </multilist>
</frame>
<frame name="buttons" layout="hbox">
<button name="cancel" caption="Annuller" action="cancel"/>