]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Move the texture loader to SimGear
[flightgear.git] / src / Main / globals.hxx
index a84d838352f51ae31ee8deb81982c0ff4efbc12c..2b64fcdb8286740266ae34c7f13b242d4448796c 100644 (file)
@@ -72,6 +72,7 @@ class FGScenery;
 class FGMultiplayRxMgr;
 class FGMultiplayTxMgr;
 #endif
+class FGPanel;
 class FGSoundMgr;
 class FGTextureLoader;
 class FGTileMgr;
@@ -126,6 +127,9 @@ private:
     // Global autopilot "route"
     SGRoute *route;
 
+    // 2D panel
+    FGPanel *current_panel;
+
     // sound manager
     FGSoundMgr *soundmgr;
 
@@ -253,6 +257,9 @@ public:
     inline FGAIMgr *get_AI_mgr() const { return AI_mgr; }
     inline void set_AI_mgr( FGAIMgr *a ) {AI_mgr = a; }
 
+    inline FGPanel *get_current_panel() const { return current_panel; }
+    inline void set_current_panel( FGPanel *cp ) { current_panel = cp; }
+
     inline FGSoundMgr *get_soundmgr() const { return soundmgr; }
     inline void set_soundmgr( FGSoundMgr *sm ) { soundmgr = sm; }