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:
parent
19f3863fc7
commit
6007988a39
@ -86,8 +86,8 @@ FGAPI void FGAPIENTRY glutSetMenuData(void* data);
|
|||||||
*/
|
*/
|
||||||
FGAPI int FGAPIENTRY glutBitmapHeight( void* font );
|
FGAPI int FGAPIENTRY glutBitmapHeight( void* font );
|
||||||
FGAPI GLfloat FGAPIENTRY glutStrokeHeight( void* font );
|
FGAPI GLfloat FGAPIENTRY glutStrokeHeight( void* font );
|
||||||
FGAPI void FGAPIENTRY glutBitmapString( void* font, const char *string );
|
FGAPI void FGAPIENTRY glutBitmapString( void* font, const unsigned char *string );
|
||||||
FGAPI void FGAPIENTRY glutStrokeString( void* font, const char *string );
|
FGAPI void FGAPIENTRY glutStrokeString( void* font, const unsigned char *string );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Geometry functions, see freeglut_geometry.c
|
* Geometry functions, see freeglut_geometry.c
|
||||||
|
@ -467,8 +467,8 @@ FGAPI void FGAPIENTRY glutBitmapCharacter( void* font, int character );
|
|||||||
FGAPI int FGAPIENTRY glutBitmapWidth( void* font, int character );
|
FGAPI int FGAPIENTRY glutBitmapWidth( void* font, int character );
|
||||||
FGAPI void FGAPIENTRY glutStrokeCharacter( void* font, int character );
|
FGAPI void FGAPIENTRY glutStrokeCharacter( void* font, int character );
|
||||||
FGAPI int FGAPIENTRY glutStrokeWidth( void* font, int character );
|
FGAPI int FGAPIENTRY glutStrokeWidth( void* font, int character );
|
||||||
FGAPI int FGAPIENTRY glutBitmapLength( void* font, const char* string );
|
FGAPI int FGAPIENTRY glutBitmapLength( void* font, const unsigned char* string );
|
||||||
FGAPI int FGAPIENTRY glutStrokeLength( void* font, const char* string );
|
FGAPI int FGAPIENTRY glutStrokeLength( void* font, const unsigned char* string );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Geometry functions, see freeglut_geometry.c
|
* Geometry functions, see freeglut_geometry.c
|
||||||
@ -541,3 +541,4 @@ FGAPI void FGAPIENTRY glutReportErrors( void );
|
|||||||
/*** END OF FILE ***/
|
/*** END OF FILE ***/
|
||||||
|
|
||||||
#endif /* __GLUT_H__ */
|
#endif /* __GLUT_H__ */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user