Added API macros for Spaceball buttons.
[freeglut] / include / GL / freeglut_std.h
index 0e4ce6c..5ffc5a0 100644 (file)
 #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
+
+/*
  * Initialization functions, see fglut_init.c
  */
 FGAPI void    FGAPIENTRY glutInit( int* pargc, char** argv );
@@ -529,8 +536,10 @@ FGAPI void    FGAPIENTRY glutBitmapCharacter( void* font, int character );
 FGAPI int     FGAPIENTRY glutBitmapWidth( void* font, int character );
 FGAPI void    FGAPIENTRY glutStrokeCharacter( void* font, int character );
 FGAPI int     FGAPIENTRY glutStrokeWidth( void* font, int character );
+FGAPI GLfloat FGAPIENTRY glutStrokeWidthf( void* font, int character ); /* GLUT 3.8 */
 FGAPI int     FGAPIENTRY glutBitmapLength( void* font, const unsigned char* string );
 FGAPI int     FGAPIENTRY glutStrokeLength( void* font, const unsigned char* string );
+FGAPI GLfloat FGAPIENTRY glutStrokeLengthf( void* font, const unsigned char *string ); /* GLUT 3.8 */
 
 /*
  * Geometry functions, see fg_geometry.c