More and more for the papgets

This commit is contained in:
Pascal Brisset
2008-10-31 16:49:28 +00:00
parent ade630c5f2
commit cf45848297
8 changed files with 330 additions and 97 deletions
+3 -3
View File
@@ -2,8 +2,8 @@
<!ELEMENT rows (columns|widget)*>
<!ELEMENT columns (rows|widget)*>
<!ELEMENT widget (papget)*>
<!ELEMENT papget (attr)*>
<!ELEMENT attr EMPTY>
<!ELEMENT papget (property)*>
<!ELEMENT property EMPTY>
<!ATTLIST layout
width CDATA #IMPLIED
@@ -30,7 +30,7 @@ y CDATA #REQUIRED
display CDATA #REQUIRED
>
<!ATTLIST attr
<!ATTLIST property
name CDATA #REQUIRED
value CDATA #REQUIRED
>
+20 -14
View File
@@ -4,28 +4,34 @@
<rows>
<widget size="500" name="map2d">
<papget x="10" y="400" type="message_field" display="text">
<attr name="field" value="ESTIMATOR:z_dot" />
<attr name="format" value="Climb:%.1fm/s"/>
<attr name="size" value="20"/>
<attr name="color" value="blue"/>
<property name="field" value="ESTIMATOR:z_dot" />
<property name="format" value="Climb:%.1fm/s"/>
<property name="size" value="20"/>
<property name="color" value="pink"/>
</papget>
<papget x="990" y="250" type="message_field" display="ruler">
<attr name="height" value="200" />
<attr name="field" value="ESTIMATOR:z" />
<property name="height" value="200" />
<property name="field" value="ESTIMATOR:z" />
</papget>
<papget x="10" y="250" type="variable_setting" display="button">
<attr name="variable" value="launch" />
<attr name="value" value="1"/>
<attr name="icon" value="launch.png" />
<property name="variable" value="launch" />
<property name="value" value="1"/>
<property name="icon" value="launch.png" />
</papget>
<!--
<papget x="10" y="250" type="variable_setting" display="slider">
<attr name="variable" value="nav_altitude" />
<attr name="min" value="0"/>
<attr name="max" value="1000"/>
<property name="variable" value="nav_altitude" />
<property name="min" value="0"/>
<property name="max" value="1000"/>
</papget>
-->
<papget x="10" y="300" type="goto_block" display="button">
<attr name="block_name" value="Standby" />
<attr name="icon" value="home.png" />
<property name="block_name" value="Standby" />
<property name="icon" value="home.png" />
</papget>
<papget x="10" y="330" type="goto_block" display="button">
<property name="block_name" value="Takeoff" />
<property name="icon" value="takeoff.png" />
</papget>
</widget>
<columns>