#pragma once

#ifdef OPENGLUT


//! OpenGlutのglutBitmapStringの char* 版のオーバーロード
inline void glutBitmapString( void* font, const char* string ){ glutBitmapString( font , reinterpret_cast<const unsigned char*>(string) ); }
inline void glutStrokeString( void* font, const char* string ){ glutStrokeString( font , reinterpret_cast<const unsigned char*>(string) ); }


//! OpenGLUTのフォント定義のコピー
namespace glut_font
{
	static void* const STROKE_ROMAN          = GLUT_STROKE_ROMAN          ;
	static void* const STROKE_MONO_ROMAN     = GLUT_STROKE_MONO_ROMAN     ;
	static void* const BITMAP_9_BY_15        = GLUT_BITMAP_9_BY_15        ;
	static void* const BITMAP_8_BY_13        = GLUT_BITMAP_8_BY_13        ;
	static void* const BITMAP_TIMES_ROMAN_10 = GLUT_BITMAP_TIMES_ROMAN_10 ;
	static void* const BITMAP_TIMES_ROMAN_24 = GLUT_BITMAP_TIMES_ROMAN_24 ;
	static void* const BITMAP_HELVETICA_10   = GLUT_BITMAP_HELVETICA_10   ;
	static void* const BITMAP_HELVETICA_12   = GLUT_BITMAP_HELVETICA_12   ;
	static void* const BITMAP_HELVETICA_18   = GLUT_BITMAP_HELVETICA_18   ;
};


#endif
