1
0
Fork 0

Declare fgReshape into gui.h

This commit is contained in:
ehofman 2003-03-30 19:40:43 +00:00
parent 729a3b9af7
commit 7948238156
6 changed files with 1 additions and 11 deletions

View file

@ -53,7 +53,6 @@
// main.cxx hack, should come from an include someplace // main.cxx hack, should come from an include someplace
extern void fgInitVisuals( void ); extern void fgInitVisuals( void );
extern void fgReshape( int width, int height );
extern void fgRenderFrame( void ); extern void fgRenderFrame( void );
extern void initDialog (void); extern void initDialog (void);

View file

@ -89,6 +89,7 @@ extern void ClearRoute(puObject *);
extern void fgAPAdjust(puObject *); extern void fgAPAdjust(puObject *);
extern void fgLatLonFormatToggle(puObject *); extern void fgLatLonFormatToggle(puObject *);
extern void helpCb(puObject *); extern void helpCb(puObject *);
extern void fgReshape(int, int);
typedef struct { typedef struct {
char *name; char *name;

View file

@ -100,7 +100,6 @@ SG_USING_STD(cout);
// main.cxx hack, should come from an include someplace // main.cxx hack, should come from an include someplace
extern void fgInitVisuals( void ); extern void fgInitVisuals( void );
extern void fgReshape( int width, int height );
extern void fgRenderFrame( void ); extern void fgRenderFrame( void );
extern void fgHUDalphaAdjust( puObject * ); extern void fgHUDalphaAdjust( puObject * );

View file

@ -20,9 +20,6 @@
#include "gui.h" #include "gui.h"
#include "trackball.h" #include "trackball.h"
// from main.cxx
extern void fgReshape(int, int);
// FOR MOUSE VIEW MODE // FOR MOUSE VIEW MODE
// stashed trackball(_quat0, 0.0, 0.0, 0.0, 0.0); // stashed trackball(_quat0, 0.0, 0.0, 0.0, 0.0);
static float _quat0[4]; static float _quat0[4];

View file

@ -162,9 +162,6 @@ FGBinding::fire (double setting) const
// Implementation of FGInput. // Implementation of FGInput.
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
// From main.cxx
extern void fgReshape( int width, int height );
FGInput::FGInput () FGInput::FGInput ()
{ {

View file

@ -215,9 +215,6 @@ FGGeneral general;
static int idle_state = 0; static int idle_state = 0;
static long global_multi_loop; 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 // fog constants. I'm a little nervous about putting actual code out
// here but it seems to work (?) // here but it seems to work (?)
static const double m_log01 = -log( 0.01 ); static const double m_log01 = -log( 0.01 );