]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_lat.cxx
remove the rest of the static variables (except one); cleanup
[flightgear.git] / src / Cockpit / hud_lat.cxx
index c3ca62353c0e40283fe196f39b47c71a08d137b8..34da65b924fb81d8c79487009e4f1a3e4b2e2b6c 100644 (file)
@@ -3,9 +3,9 @@
 
 
 #ifdef USE_HUD_TextList
-#define textString( x , y, text, digit )  TextString( text, x , y,digit )
+#define textString(x, y, text, digit)  TextString(text, x , y ,digit)
 #else
-#define textString( x , y, text, digit )  puDrawString ( guiFnt, text, x, y )
+#define textString(x, y, text, digit)  puDrawString(guiFnt, text, x, y)
 #endif
 
 //======================= Top of instr_label class =========================
@@ -75,22 +75,6 @@ lat_label::lat_label( const lat_label & image) :
 }
 
 
-lat_label& lat_label::operator=(const lat_label & rhs)
-{
-    if (!(this == &rhs)) {
-        instr_item::operator = (rhs);
-        pformat    = rhs.pformat;
-        fontSize   = rhs.fontSize;
-        blink      = rhs.blink;
-        justify    = rhs.justify;
-        pre_str    = rhs.pre_str;
-        post_str   = rhs.post_str;
-        strcpy(format_buffer,rhs.format_buffer);
-    }
-    return *this;
-}
-
-
 //
 // draw                    Draws a label anywhere in the HUD
 //