1
0
Fork 0
flightgear/src/GUI/gui_local.hxx

32 lines
576 B
C++
Raw Normal View History

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <simgear/compiler.h>
#include "trackball.h"
#if defined(WIN32) || defined(__CYGWIN32__)
#define WIN32_CURSOR_TWEAKS
#elif (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
#define X_CURSOR_TWEAKS
#endif
typedef enum {
MOUSE_POINTER,
MOUSE_YOKE,
MOUSE_VIEW
} MouseMode;
extern MouseMode mouse_mode;
extern float lastGuiQuat[4];
extern float curGuiQuat[4];
extern float GuiQuat_mat[4][4];
extern void initMouseQuat( void );
extern void Quat0( void );
class puObject;
extern void reInit(puObject *cb);