From 152a5902c82013c75ba4b09149523867b8d9d136 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 19 Oct 2000 23:09:33 +0000 Subject: [PATCH] Moved winWidth and winHeight out of FGViewer since these are set on a per-application level. We can have multiple viewers ... Cleaned up fov mistake on startup with panel activated. --- src/Airports/runways.cxx | 2 -- src/Airports/simple.cxx | 2 -- src/Autopilot/auto_gui.cxx | 1 - src/Autopilot/newauto.cxx | 1 - src/Cockpit/cockpit.cxx | 33 +++++++++++++++++---------------- src/Cockpit/hud.cxx | 2 +- src/Cockpit/panel.cxx | 5 ++--- src/Cockpit/steam.cxx | 2 +- src/FDM/Balloon.cxx | 2 +- src/FDM/JSBSim.cxx | 2 +- src/FDM/flight.cxx | 2 +- src/GUI/gui.cxx | 32 ++++++++++++++++---------------- src/Main/bfi.cxx | 1 - src/Main/fg_init.cxx | 4 +++- src/Main/keyboard.cxx | 13 ++++++------- src/Main/main.cxx | 15 +++++++++++---- src/Main/options.cxx | 14 ++------------ src/Main/options.hxx | 6 ------ src/Main/splash.cxx | 12 ++++++------ src/Main/viewer.cxx | 19 ++++++++++--------- src/Main/viewer.hxx | 11 +++++------ src/Main/views.cxx | 2 +- src/Main/views.hxx | 2 -- src/NetworkOLK/net_hud.cxx | 2 -- src/NetworkOLK/network.cxx | 1 - src/Scenery/scenery.cxx | 2 -- 26 files changed, 84 insertions(+), 106 deletions(-) diff --git a/src/Airports/runways.cxx b/src/Airports/runways.cxx index 85639eb0e..f670192e2 100644 --- a/src/Airports/runways.cxx +++ b/src/Airports/runways.cxx @@ -33,8 +33,6 @@ #include #include -#include
- #include STL_STRING #include STL_FUNCTIONAL #include STL_ALGORITHM diff --git a/src/Airports/simple.cxx b/src/Airports/simple.cxx index 27d9c9baf..5b27837bb 100644 --- a/src/Airports/simple.cxx +++ b/src/Airports/simple.cxx @@ -42,8 +42,6 @@ #include #include -#include
- #include STL_STRING #include STL_FUNCTIONAL #include STL_ALGORITHM diff --git a/src/Autopilot/auto_gui.cxx b/src/Autopilot/auto_gui.cxx index 598761046..472fe94c1 100644 --- a/src/Autopilot/auto_gui.cxx +++ b/src/Autopilot/auto_gui.cxx @@ -41,7 +41,6 @@ #include
#include
#include
-#include
#include #include "auto_gui.hxx" diff --git a/src/Autopilot/newauto.cxx b/src/Autopilot/newauto.cxx index 3902bfc16..64b664ab4 100644 --- a/src/Autopilot/newauto.cxx +++ b/src/Autopilot/newauto.cxx @@ -38,7 +38,6 @@ #include #include
#include
-#include
#include #include "newauto.hxx" diff --git a/src/Cockpit/cockpit.cxx b/src/Cockpit/cockpit.cxx index 5cdaee5b0..b338a82a0 100644 --- a/src/Cockpit/cockpit.cxx +++ b/src/Cockpit/cockpit.cxx @@ -30,7 +30,7 @@ #endif #include -#include +// #include #include #include @@ -45,7 +45,6 @@ #include #include #include
-#include
#include #include