]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_labl.cxx
Melchior FRANZ:
[flightgear.git] / src / Cockpit / hud_labl.cxx
index 305d6a052d5867ccbe7f84c33a9eb5b855b8791e..95d5cc19a9da5cd034ea84d46741b44772151f1e 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 =========================
@@ -187,14 +187,14 @@ draw( void )       // Required method in base class
       posincr = 0;  // 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
       }
     }
 }