X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2Fgui_local.hxx;h=ef329ccaf9902d50ee4273a9ae4ff00ca187741e;hb=b9e866cfdd765cc742a6c9b3e35c8a9c1ca08dfc;hp=98748faa587047fa1df560a9ff8e27ca1379af27;hpb=bff544aada682998cb5254060b81a736f7781f50;p=flightgear.git diff --git a/src/GUI/gui_local.hxx b/src/GUI/gui_local.hxx index 98748faa5..ef329ccaf 100644 --- a/src/GUI/gui_local.hxx +++ b/src/GUI/gui_local.hxx @@ -1,5 +1,19 @@ +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + #include "trackball.h" +#if defined(WIN32) || defined(__CYGWIN32__) +#define WIN32_CURSOR_TWEAKS +// uncomment this for cursor to turn off when menu is disabled +// #define WIN32_CURSOR_TWEAKS_OFF +#elif (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) +#define X_CURSOR_TWEAKS +#endif + typedef enum { MOUSE_POINTER, MOUSE_YOKE, @@ -7,6 +21,7 @@ typedef enum { } MouseMode; extern MouseMode mouse_mode; +extern int gui_menu_on; extern float lastGuiQuat[4]; extern float curGuiQuat[4];