mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 20:10:56 +00:00
29 lines
536 B
C
29 lines
536 B
C
|
|
||
|
#if !defined(INCLUDED_GTKUTIL_GLFONT_H)
|
||
|
#define INCLUDED_GTKUTIL_GLFONT_H
|
||
|
|
||
|
typedef unsigned int GLuint;
|
||
|
|
||
|
class GLFont
|
||
|
{
|
||
|
GLuint m_displayList;
|
||
|
int m_pixelHeight;
|
||
|
public:
|
||
|
GLFont(GLuint displayList, int pixelHeight) : m_displayList(displayList), m_pixelHeight(pixelHeight)
|
||
|
{
|
||
|
}
|
||
|
GLuint getDisplayList() const
|
||
|
{
|
||
|
return m_displayList;
|
||
|
}
|
||
|
int getPixelHeight() const
|
||
|
{
|
||
|
return m_pixelHeight;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
GLFont glfont_create(const char* font_string);
|
||
|
void glfont_release(GLFont& font);
|
||
|
|
||
|
#endif
|