1 #ifndef MSP_GLTK_RESOURCES_H_
2 #define MSP_GLTK_RESOURCES_H_
4 #include <msp/gl/font.h>
5 #include <msp/gl/texture.h>
6 #include <msp/datafile/collection.h>
7 #include <msp/path/path.h>
14 class Resources: public DataFile::Collection
18 GL::Font *default_font;
21 class Loader: public Collection::Loader
29 void font(const std::string &);
34 void set_path(const Path &);
35 const GL::Font &get_default_font() const;
37 GL::Font *create_font(const std::string &);
38 GL::Texture2D *create_texture(const std::string &);