summaryrefslogtreecommitdiff
path: root/server/xml
diff options
context:
space:
mode:
authordeva <deva>2008-05-26 13:56:30 +0000
committerdeva <deva>2008-05-26 13:56:30 +0000
commit192e0f80bd2da45f1c612411fded2e805ac205de (patch)
tree95407dd47edc6062a6250382ca345d320b7665be /server/xml
parentb0be417b31e2d2577c188a563d531889354b7617 (diff)
Completed the prefilling of the fields, from the db and pentominos, according to their timestamps.
Diffstat (limited to 'server/xml')
-rw-r--r--server/xml/example2.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/xml/example2.xml b/server/xml/example2.xml
index 65164bc..4f2c790 100644
--- a/server/xml/example2.xml
+++ b/server/xml/example2.xml
@@ -9,15 +9,15 @@
<maps>
<map name="axis">
-- LUA program
- return right.axis
+ return math.pi, 1234567890
</map>
<map name="sphere">
-- LUA program
- return right.sphere
+ return right.sphere.value, right.sphere.timestamp
</map>
<map name="cyl">
-- LUA program
- return right.cyl
+ return right.cyl.value, right.cyl.timestamp
</map>
</maps>
<window name="mainwindow"
@@ -28,15 +28,15 @@
<frame name="linse_frame" caption="Linser:" layout="vbox">
<frame name="linse_framea" layout="hbox">
<label name="a" width="300" caption="Akse rotation:"/>
- <lineedit name="linse1" regexp="[0-9]{1,3}" map="axis" value="90K"/>
+ <lineedit name="linse4" regexp="-{0,1}[0-9]{1,3}" map="axis2" value="90K"/>
</frame>
<frame name="linse_frameb" layout="hbox">
<label name="b" width="300" caption="Sphere:"/>
- <lineedit name="linse2" regexp="[0-9]{1,3}" map="sphere" value="90K"/>
+ <lineedit name="linse2" regexp="-{0,1}[0-9]{1,3}\.[0-9]{1,3}" map="sphere" value="90K"/>
</frame>
<frame name="linse_framec" layout="hbox">
<label name="c" width="300" caption="Sphere:"/>
- <lineedit name="linse3" regexp="[0-9]{1,3}" map="cyl" value="90K"/>
+ <lineedit name="linse3" regexp="-{0,1}[0-9]{1,3}\.[0-9]{1,3}" map="cyl" value="90K"/>
</frame>
</frame>
<frame name="buttons" layout="hbox">