moved spaceball macros from freeglut_std.h to freeglut_ext.h

This commit is contained in:
Jinrong Xie 2016-01-18 17:44:53 -08:00
parent 21cccdf7f3
commit 13e6cf1591
2 changed files with 10 additions and 10 deletions

View File

@ -126,6 +126,16 @@
#define GLUT_CORE_PROFILE 0x0001 #define GLUT_CORE_PROFILE 0x0001
#define GLUT_COMPATIBILITY_PROFILE 0x0002 #define GLUT_COMPATIBILITY_PROFILE 0x0002
/*
* GLUT API Extension macro definitions -- Spaceball button definitions
*/
#define GLUT_SPACEBALL_BUTTON_A 0x0001
#define GLUT_SPACEBALL_BUTTON_B 0x0002
#define GLUT_SPACEBALL_BUTTON_C 0x0004
#define GLUT_SPACEBALL_BUTTON_D 0x0008
#define GLUT_SPACEBALL_BUTTON_E 0x0010
/* /*
* Process loop function, see fg_main.c * Process loop function, see fg_main.c
*/ */

View File

@ -407,16 +407,6 @@
#define GLUT_GAME_MODE_REFRESH_RATE 0x0005 #define GLUT_GAME_MODE_REFRESH_RATE 0x0005
#define GLUT_GAME_MODE_DISPLAY_CHANGED 0x0006 #define GLUT_GAME_MODE_DISPLAY_CHANGED 0x0006
/*
* GLUT API macro definitions -- Spaceball button definitions
*/
#define GLUT_SPACEBALL_BUTTON_A 0x0001
#define GLUT_SPACEBALL_BUTTON_B 0x0002
#define GLUT_SPACEBALL_BUTTON_C 0x0004
#define GLUT_SPACEBALL_BUTTON_D 0x0008
#define GLUT_SPACEBALL_BUTTON_E 0x0010
/* /*
* Initialization functions, see fglut_init.c * Initialization functions, see fglut_init.c
*/ */