Changes stroke function arguments from "const char*" to "const unsigned char *" - John Fay

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@170 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
puggles 2003-08-28 19:22:27 +00:00
parent 19f3863fc7
commit 6007988a39
2 changed files with 5 additions and 4 deletions

View File

@ -86,8 +86,8 @@ FGAPI void FGAPIENTRY glutSetMenuData(void* data);
*/
FGAPI int FGAPIENTRY glutBitmapHeight( void* font );
FGAPI GLfloat FGAPIENTRY glutStrokeHeight( void* font );
FGAPI void FGAPIENTRY glutBitmapString( void* font, const char *string );
FGAPI void FGAPIENTRY glutStrokeString( void* font, const char *string );
FGAPI void FGAPIENTRY glutBitmapString( void* font, const unsigned char *string );
FGAPI void FGAPIENTRY glutStrokeString( void* font, const unsigned char *string );
/*
* Geometry functions, see freeglut_geometry.c

View File

@ -467,8 +467,8 @@ 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 int FGAPIENTRY glutBitmapLength( void* font, const char* string );
FGAPI int FGAPIENTRY glutStrokeLength( void* font, const char* string );
FGAPI int FGAPIENTRY glutBitmapLength( void* font, const unsigned char* string );
FGAPI int FGAPIENTRY glutStrokeLength( void* font, const unsigned char* string );
/*
* Geometry functions, see freeglut_geometry.c
@ -541,3 +541,4 @@ FGAPI void FGAPIENTRY glutReportErrors( void );
/*** END OF FILE ***/
#endif /* __GLUT_H__ */