summaryrefslogtreecommitdiff
path: root/server/xml
diff options
context:
space:
mode:
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"/>