X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fhud_lat.cxx;h=0f9c79268790f78aaa11bac20f6fc03d735eca66;hb=f057fd0d4897ef65c4d36159af37ba3fdd544798;hp=e9e6a45203e7d6e8388c8623bbcea2d0c7082d97;hpb=215491546530f79d49351a4c89f76eceaafef572;p=flightgear.git diff --git a/src/Cockpit/hud_lat.cxx b/src/Cockpit/hud_lat.cxx index e9e6a4520..0f9c79268 100644 --- a/src/Cockpit/hud_lat.cxx +++ b/src/Cockpit/hud_lat.cxx @@ -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 ========================= @@ -136,14 +136,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 } } }