Showing 2 changed files with 14 additions and 11 deletions
+10 -7
Nasal/display.nas
... ...
@@ -143,8 +143,8 @@ var displayClass = {
143 143
                     if (contains(me.texts[e], 'default'))
144 144
                         me.screenElements[e].setText(me.texts[e].default);
145 145
                 }
146
-                else
147
-                    print('no alignment for ' ~ e);
146
+#                else
147
+#                    print('no text format for ' ~ e);
148 148
             }
149 149
             else
150 150
                 print('unknown method ' ~ t);
... ...
@@ -166,10 +166,10 @@ var displayClass = {
166 166
     },
167 167
 
168 168
     clips : {
169
-        PitchScale : "rect(70,664,370,256)",
170
-        SpeedLint1 : "rect(252,226,318,204)",
171
-        SpeedTape : "rect(115,239,455,156)",
172
-        LintAlt : "rect(115,808,455,704)",
169
+        PitchScale   : "rect(70,664,370,256)",
170
+        SpeedLint1   : "rect(252,226,318,204)",
171
+        SpeedTape    : "rect(115,239,455,156)",
172
+        LintAlt      : "rect(115,808,455,704)",
173 173
         AltLint00011 : "rect(252,804,318,771)",
174 174
     },
175 175
 
... ...
@@ -183,12 +183,15 @@ var displayClass = {
183 183
         Alt11100 : {
184 184
             default:'', alignment:'left-bottom'
185 185
         },
186
+        "HDG-text" : {
187
+            default: '---°'
188
+        },
186 189
     },
187 190
 
188 191
     updateAI: func(roll,pitch){
189 192
         if (pitch > 80)
190 193
             pitch = 80;
191
-        elsif(pitch < -80)
194
+        elsif (pitch < -80)
192 195
             pitch = -80;
193 196
         me.screenElements.Horizon
194 197
             .setRotation(-roll * D2R)
+4 -4
Systems/screen.svg
... ...
@@ -24,11 +24,11 @@
24 24
      borderopacity="1"
25 25
      inkscape:pageopacity="1"
26 26
      inkscape:pageshadow="2"
27
-     inkscape:zoom="0.70710678"
28
-     inkscape:cx="196.98021"
29
-     inkscape:cy="364.43984"
27
+     inkscape:zoom="4"
28
+     inkscape:cx="410.12757"
29
+     inkscape:cy="314.63609"
30 30
      inkscape:document-units="px"
31
-     inkscape:current-layer="PFD-Widgets"
31
+     inkscape:current-layer="HDG"
32 32
      showgrid="false"
33 33
      showguides="false"
34 34
      inkscape:guide-bbox="true"