]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.cxx
Clean-up: move autosave.xml loading code to proper method
[flightgear.git] / src / Cockpit / panel.cxx
index 8cc268788f7900c976ed5d1bd5ad231e75650cf5..3ac15621ec80db5471284feae7c2b0e50896171e 100644 (file)
 #include <Main/fg_props.hxx>
 #include <Main/viewmgr.hxx>
 #include <Time/light.hxx>
-#include <GUI/new_gui.hxx>     // FGFontCache
+#include <GUI/FGFontCache.hxx> 
 #include <Main/viewer.hxx>
 #include <Instrumentation/dclgps.hxx>
 
-#include "hud.hxx"
-
-
 #define WIN_X 0
 #define WIN_Y 0
 #define WIN_W 1024
@@ -74,6 +71,8 @@
 // my hardware/driver requires many more.
 #define POFF_UNITS 8
 
+using std::map;
+
 ////////////////////////////////////////////////////////////////////////
 // Local functions.
 ////////////////////////////////////////////////////////////////////////
@@ -1177,7 +1176,7 @@ FGTextLayer::setFontName(const string &name)
   FGFontCache *fc = globals->get_fontcache();
   fntFont* font = fc->getTexFont(_font_name.c_str());
   if (!font) {
-      SG_LOG(SG_GENERAL, SG_WARN, "unable to find font:" << name);
+      SG_LOG(SG_COCKPIT, SG_WARN, "unable to find font:" << name);
   }
 }