]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui_local.hxx
Added write-all parameter to save command. If set to true, the
[flightgear.git] / src / GUI / gui_local.hxx
index 98748faa587047fa1df560a9ff8e27ca1379af27..ef329ccaf9902d50ee4273a9ae4ff00ca187741e 100644 (file)
@@ -1,5 +1,19 @@
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
+#include <simgear/compiler.h>
+
 #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];