# HG changeset patch
# User Edouard Tisserant
# Date 1617718076 -7200
# Node ID 60a8531efa458504000369edbafb974945d63c70
# Parent cfa5690c8c15ee982a2c1e72829b5f1b1e29dd34
SVGHMI: prototype of widget interface description using SVG's desc field, added to SVGHMI's internal svg widget library.
diff -r cfa5690c8c15 -r 60a8531efa45 svghmi/widgetlib/meter_template.svg
--- a/svghmi/widgetlib/meter_template.svg Tue Apr 06 16:05:58 2021 +0200
+++ b/svghmi/widgetlib/meter_template.svg Tue Apr 06 16:07:56 2021 +0200
@@ -91,15 +91,15 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.49497475"
- inkscape:cx="65.09798"
- inkscape:cy="624.46966"
+ inkscape:cx="494.41281"
+ inkscape:cy="773.97224"
inkscape:document-units="mm"
inkscape:current-layer="svg2092"
showgrid="false"
inkscape:window-width="1414"
inkscape:window-height="801"
- inkscape:window-x="1795"
- inkscape:window-y="512"
+ inkscape:window-x="186"
+ inkscape:window-y="62"
inkscape:window-maximized="0" />
@@ -109,7 +109,7 @@
image/svg+xml
-
+
@@ -117,6 +117,11 @@
id="g7998"
transform="matrix(0.57180538,0,0,0.57180538,22.524027,122.59857)"
inkscape:label="HMI:Meter@/PUMP0/SLOTH">
+ A sophisticated meter looking like real
+
+@position : HMI_INT, HMI_REAL # the position as int or real
+