DataFile::Collection &get_collection();
private:
void init();
- void texture(const std::string &);
void glyph(unsigned);
+ void texture_inline();
};
Font();
+ ~Font();
void set_texture(const Texture2D &);
const Texture2D &get_texture() const;
typedef std::map<unsigned, Glyph> GlyphMap;
const Texture2D *tex;
+ bool own_tex;
float default_size;
float ascent;
float descent;