font improvments

This commit is contained in:
Eduardo Bart
2011-04-07 00:13:57 -03:00
parent 9464f99c90
commit 9bd9f4ba53
4 changed files with 15 additions and 13 deletions

View File

@@ -60,12 +60,9 @@ public:
*/
/// Render a text
const std::string& getName() const { return m_name; }
int renderGlyph(const Point& pos, int glyph);
private:
std::string m_name;
int m_lineHeight;
int m_cursorSize;
Color m_color;
@@ -75,7 +72,6 @@ private:
int m_firstGlyph;
int m_glyphWidths[256];
int m_numHorizontalGlyphs;
int m_numVerticalGlyphs;
};
#endif // FONT_H