Added zpos attribute to all elements. Changed architecture to allow detailscreen...
[jspeed] / src / resources / themes / default / theme.xml
index d9becb0..9bfd8f3 100644 (file)
@@ -1,12 +1,12 @@
 <theme> 
-<detailscreen color="#fff">
+<detailscreen orientation="both" color="#fff">
        <image>
                <xpos>0</xpos>
                <ypos>0</ypos>
                <src>background.png</src>
        </image>
 </detailscreen>
-<orientation name="landscape">
+<mainscreen orientation="landscape">
        <image>
                <xpos>0</xpos>
                <ypos>0</ypos>
                <width>600</width>
        </text>
        <text>
-               <data>{SPEED}</data>
-               <font>digital7.ttf</font>
-               <size>320</size>
-               <xpos>100</xpos>
-               <ypos>75</ypos>
-               <color>#fff</color>
-               <align>right</align>
-               <width>600</width>
-               <format>%.0f</format>
-               <effect name="dropshadow">
-                       <xoffset>0</xoffset>
-                       <yoffset>0</yoffset>                    
-                       <radius>35</radius>
-                       <color>#a5efff</color>
-               </effect>
-       </text>
-       <text>
                <data>{SPEEDUNIT}</data>
                <xpos>520</xpos>
                <ypos>402</ypos>
                        <color>#a5efff</color>
                </effect>
        </text>
-</orientation>
-<orientation name="portrait">
+       <text>
+                <data>{SPEED}</data>
+                <font>digital7.ttf</font>
+                <size>320</size>
+                <xpos>100</xpos>
+                <ypos>75</ypos>
+                <color>#fff</color>
+                <align>right</align>
+                <width>600</width>
+                <format>%.0f</format>
+                <effect name="dropshadow">
+                        <xoffset>0</xoffset>
+                        <yoffset>0</yoffset>
+                        <radius>35</radius>
+                        <color>#a5efff</color>
+                </effect>
+        </text>
+</mainscreen>
+<mainscreen orientation="portrait">
        <image>
-               <xpos>0</xpos>
-               <ypos>0</ypos>
-               <src>background.png</src>
-       </image>
+                <xpos>0</xpos>
+                <ypos>0</ypos>
+                <src>background.png</src>
+        </image>
        <text>
                <data>000</data>
                <font>digital7.ttf</font>
                <width>470</width>
        </text>
        <text>
-               <data>{SPEED}</data>
-               <font>digital7.ttf</font>
-               <size>250</size>
-               <xpos>0</xpos>
-               <ypos>260</ypos>
-               <color>#fff</color>
-               <align>right</align>
-               <width>470</width>
-               <format>%.0f</format>
-               <effect name="dropshadow">
-                        <xoffset>0</xoffset>
-                        <yoffset>0</yoffset>
-                        <radius>35</radius>
-                        <color>#a5efff</color>
-                </effect>
-       </text>
-       <text>
                 <data>{SPEEDUNIT}</data>
                 <xpos>330</xpos>
                 <ypos>522</ypos>
                         <radius>35</radius>
                         <color>#a5efff</color>
                 </effect>
+         </text>
+        <text>
+                <data>{SPEED}</data>
+                <font>digital7.ttf</font>
+                <size>250</size>
+                <xpos>0</xpos>
+                <ypos>260</ypos>
+                <color>#fff</color>
+                <align>right</align>
+                <width>470</width>
+                <format>%.0f</format>
+                <effect name="dropshadow">
+                        <xoffset>0</xoffset>
+                        <yoffset>0</yoffset>
+                        <radius>35</radius>
+                        <color>#a5efff</color>
+                </effect>
         </text>
-</orientation>
+</mainscreen>
 </theme>