]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.hxx
Fix my mailing address by replacing it with my web page.
[flightgear.git] / src / Cockpit / panel.hxx
index 01ccc469db7562c1e0e50d9d774f95acdd266d22..7cfdf0e2eb72fe6f49566e6a6bfb15ece1de5c54 100644 (file)
@@ -34,7 +34,6 @@
 #  include <windows.h>
 #endif
 
-#include <plib/ssg.h>
 #include <plib/fnt.h>
 
 #include <simgear/compiler.h>
@@ -53,6 +52,8 @@
 SG_USING_STD(vector);
 SG_USING_STD(map);
 
+
+class ssgTexture;
 class FGPanelInstrument;
 
 
@@ -492,7 +493,8 @@ public:
   public:
     Chunk (const string &text, const string &fmt = "%s");
     Chunk (ChunkType type, const SGPropertyNode * node,
-          const string &fmt = "", float mult = 1.0, float offs = 0.0);
+          const string &fmt = "", float mult = 1.0, float offs = 0.0,
+           bool truncation = false);
 
     const char * getValue () const;
   private:
@@ -502,6 +504,7 @@ public:
     string _fmt;
     float _mult;
     float _offs;
+    bool _trunc;
     mutable char _buf[1024];
   };