]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_lon.cxx
A couple more straggling instrumentation clean ups.
[flightgear.git] / src / Cockpit / hud_lon.cxx
index 74cae204afe04d73a3059101f709d65c41784572..0676f4e4ccc80a806097afbcdc44af3561df9f24 100644 (file)
@@ -3,9 +3,9 @@
 
 
 #ifdef USE_HUD_TextList
-#define textString( x , y, text, font,digit )  TextString( text, x , y,digit ) //suma
+#define textString( x , y, text, digit )  TextString( text, x , y,digit ) //suma
 #else
-#define textString( x , y, text, font,digit )  puDrawString ( guiFnt, text, x, y ); //suma
+#define textString( x , y, text, digit )  puDrawString ( guiFnt, text, x, y ); //suma
 #endif
 
 //======================= Top of instr_label class =========================
@@ -139,14 +139,14 @@ draw( void )       // Required method in base class
       posincr = 0;
   }
   
-  if( fontSize == SMALL ) {
+  if( fontSize == HUD_FONT_SMALL ) {
     textString( scrn_rect.left + posincr, scrn_rect.top,
-                label_buffer, GLUT_BITMAP_8_BY_13, get_digits()); //suma
+                label_buffer, get_digits()); //suma
     }
   else  {
-    if( fontSize == LARGE ) {
+    if( fontSize == HUD_FONT_LARGE ) {
       textString( scrn_rect.left + posincr, scrn_rect.top,
-                  label_buffer, GLUT_BITMAP_9_BY_15, get_digits()); //suma
+                  label_buffer, get_digits()); //suma
       }
     }
 }