]> git.mxchange.org Git - flightgear.git/commitdiff
Declare fgReshape into gui.h
authorehofman <ehofman>
Sun, 30 Mar 2003 19:40:43 +0000 (19:40 +0000)
committerehofman <ehofman>
Sun, 30 Mar 2003 19:40:43 +0000 (19:40 +0000)
src/GUI/gui.cxx
src/GUI/gui.h
src/GUI/gui_funcs.cxx
src/GUI/gui_local.cxx
src/Input/input.cxx
src/Main/main.cxx

index a12576ce7717c12899bcb3f2f296f563b01f67e4..425f4c066e52a14e065aaeb8068fc6cd9016bbe2 100644 (file)
@@ -53,7 +53,6 @@
 
 // main.cxx hack, should come from an include someplace
 extern void fgInitVisuals( void );
-extern void fgReshape( int width, int height );
 extern void fgRenderFrame( void );
 
 extern void initDialog (void);
index 10a7a0e1f5ba846f9cd91a5e15dc18a690280592..c0653673ddc0a0880191b190b7c9498b1683e661 100644 (file)
@@ -89,6 +89,7 @@ extern void ClearRoute(puObject *);
 extern void fgAPAdjust(puObject *);
 extern void fgLatLonFormatToggle(puObject *);
 extern void helpCb(puObject *);
+extern void fgReshape(int, int);
 
 typedef struct {
         char *name;
index 9793cdcc89399eed3fe1064dab9859b38d7f213e..4d72f2434696fc9c8724bf47656230c5f50ba6a0 100644 (file)
@@ -100,7 +100,6 @@ SG_USING_STD(cout);
 
 // main.cxx hack, should come from an include someplace
 extern void fgInitVisuals( void );
-extern void fgReshape( int width, int height );
 extern void fgRenderFrame( void );
 
 extern void fgHUDalphaAdjust( puObject * );
index 92036557e61051508da5d11d97fc5180a60d087d..018760e98239d752cd6e1d7d44c27ddf961c2c3b 100644 (file)
@@ -20,9 +20,6 @@
 #include "gui.h"
 #include "trackball.h"
 
-// from main.cxx
-extern void fgReshape(int, int);
-
 // FOR MOUSE VIEW MODE
 // stashed trackball(_quat0, 0.0, 0.0, 0.0, 0.0);
 static float _quat0[4];
index 5483fd11b4864f2dd71bd59ddc5d95317e106e0f..a6c578e934a5150a8c3d0f3c9f00257d58968237 100644 (file)
@@ -162,9 +162,6 @@ FGBinding::fire (double setting) const
 // Implementation of FGInput.
 ////////////////////////////////////////////////////////////////////////
 
-                                // From main.cxx
-extern void fgReshape( int width, int height );
-
 
 FGInput::FGInput ()
 {
index 7cf2a67f853854dca3c6487baf2e014ded087f18..ab2ded38fa7f3929025619fd656ef36ec87cc266 100644 (file)
@@ -215,9 +215,6 @@ FGGeneral general;
 static int idle_state = 0;
 static long global_multi_loop;
 
-// forward declaration
-void fgReshape( int width, int height );
-
 // fog constants.  I'm a little nervous about putting actual code out
 // here but it seems to work (?)
 static const double m_log01 = -log( 0.01 );