Fixes to not hide mouse in win32 (current implimentation caused too much
confusion.)
This commit is contained in:
parent
7d38baf850
commit
5978b6967d
3 changed files with 6 additions and 12 deletions
|
@ -92,12 +92,6 @@ FG_USING_STD(string);
|
||||||
FG_USING_STD(cout);
|
FG_USING_STD(cout);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) || defined(__CYGWIN32__)
|
|
||||||
#define WIN32_CURSOR_TWEAKS
|
|
||||||
#elif (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
|
|
||||||
#define X_CURSOR_TWEAKS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// 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 fgReshape( int width, int height );
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
#include "trackball.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 {
|
typedef enum {
|
||||||
MOUSE_POINTER,
|
MOUSE_POINTER,
|
||||||
MOUSE_YOKE,
|
MOUSE_YOKE,
|
||||||
|
|
|
@ -84,12 +84,6 @@ FG_USING_STD(string);
|
||||||
FG_USING_STD(cout);
|
FG_USING_STD(cout);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) || defined(__CYGWIN32__)
|
|
||||||
#define WIN32_CURSOR_TWEAKS
|
|
||||||
#elif (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
|
|
||||||
#define X_CURSOR_TWEAKS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* --------------------------------------------------------------------
|
/* --------------------------------------------------------------------
|
||||||
Mouse stuff
|
Mouse stuff
|
||||||
---------------------------------------------------------------------*/
|
---------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue