- typedef std::map<std::string, GL::Font *> FontMap;
- typedef std::map<std::string, GL::Texture2D *> TextureMap;
- typedef std::map<std::string, Graphic> GraphicMap;
- typedef std::map<StyleId, Style> StyleMap;
-
- FontMap fonts;
- GL::Font *default_font;
- TextureMap textures;
- GraphicMap graphics;
- StyleMap styles;
-
- Resources(const Resources &);
- Resources &operator=(const Resources &);
+public:
+ void set_path(const FS::Path &);
+ const GL::Font &get_default_font() const;
+private:
+ GL::Font *create_font(const std::string &);
+ GL::Texture2D *create_texture(const std::string &);