]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/MapWidget.hxx
toggle fullscreen: also adapt GUI plane when resizing
[flightgear.git] / src / GUI / MapWidget.hxx
index 8c3ae0b5b03d927af175dfb90424d7bf6dae3b73..0025357172825c99eca084e08eadcd630eee29f3 100644 (file)
@@ -73,11 +73,14 @@ private:
   MapData* getOrCreateDataForKey(void* key);
   MapData* createDataForKey(void* key);
   void setAnchorForKey(void* key, const SGVec2d& anchor);
+  void clearData();
   
   SGVec2d project(const SGGeod& geod) const;
   SGGeod unproject(const SGVec2d& p) const;
   double currentScale() const;
   
+  int displayHeading(double trueHeading) const;
+  
   void circleAt(const SGVec2d& center, int nSides, double r);
   void circleAtAlt(const SGVec2d& center, int nSides, double r, double r2);
   void drawLine(const SGVec2d& p1, const SGVec2d& p2);
@@ -91,6 +94,7 @@ private:
   bool _hasPanned;
   
   SGGeod _projectionCenter;
+  bool _orthoAzimuthProject;
   SGGeod _aircraft;
   SGGeod _clickGeod;
   SGVec2d _hitLocation;