]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_inst.cxx
Yank out all the glut dependencies and concentrate them in a (easily
[flightgear.git] / src / Cockpit / hud_inst.cxx
index ed4a50b207aaf5f83713e1ecc1123e81ae087fc9..53894e257710177def550d027c6d22d0a88c2639 100644 (file)
@@ -3,8 +3,9 @@
 
 
 UINT instr_item :: instances = 0;  // Initial value of zero
-int  instr_item :: brightness = BRT_MEDIUM;
-glRGBTRIPLE instr_item :: color = {0.1, 0.7, 0.0};
+int  instr_item :: brightness = HUD_BRT_MEDIUM;
+//glRGBTRIPLE instr_item :: color = {0.1, 0.7, 0.0};
+glRGBTRIPLE instr_item :: color = {0.0, 1.0, 0.0};
 
 // constructor    ( No default provided )
 instr_item  ::
@@ -15,13 +16,15 @@ instr_item  ::
                FLTFNPTR         data_source,
                float           data_scaling,
                UINT             options,
-               bool             working) :
+               bool             working,
+                          int                          digit) : //suma
                       handle         ( ++instances  ),
                       load_value_fn  ( data_source  ),
                       disp_factor    ( data_scaling ),
                       opts           ( options      ),
                       is_enabled     ( working      ),
-                      broken         ( FALSE        )
+                      broken         ( FALSE        ),
+                      digits            ( digit                ) //suma
 {
   scrn_pos.left   = x;
   scrn_pos.top    = y;