22 #ifndef FIFE_FONTS_IMAGEFONTBASE_H
23 #define FIFE_FONTS_IMAGEFONTBASE_H
35 #include "util/structures/point.h"
62 virtual int32_t
getWidth(
const std::string& text)
const;
68 virtual SDL_Surface *renderString(
const std::string& text);
69 virtual void setColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a = 255);
81 typedef std::map<int32_t,s_glyph> type_glyphs;
86 s_glyph m_placeholder;
89 int32_t mGlyphSpacing;
92 std::string mFilename;
97 #endif // end GCN_SDLTRUETYPEFONT_HPP
virtual int32_t getWidth(const std::string &text) const
virtual int32_t getHeight() const
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...