X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fpanel.hxx;h=7cfdf0e2eb72fe6f49566e6a6bfb15ece1de5c54;hb=d05121ef4689d2b50b3fe1848cbb0d1f5a1db877;hp=01ccc469db7562c1e0e50d9d774f95acdd266d22;hpb=8e5a884428f713257a1aea1ebce2bbb65b6cd437;p=flightgear.git diff --git a/src/Cockpit/panel.hxx b/src/Cockpit/panel.hxx index 01ccc469d..7cfdf0e2e 100644 --- a/src/Cockpit/panel.hxx +++ b/src/Cockpit/panel.hxx @@ -34,7 +34,6 @@ # include #endif -#include #include #include @@ -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]; };