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);
|
||||
#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
|
||||
extern void fgInitVisuals( void );
|
||||
extern void fgReshape( int width, int height );
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
#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,
|
||||
|
|
|
@ -84,12 +84,6 @@ FG_USING_STD(string);
|
|||
FG_USING_STD(cout);
|
||||
#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
|
||||
---------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue