X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources.h;fp=source%2Fresources.h;h=d83c2087543e75c1e6371f0c74cd6a7cdc6d0e2b;hb=e5da6bc3e1f32342e661893fbb3c1cf873422c2e;hp=77987e88c29ad8a023c8adc7f6b6f9c98410aae6;hpb=9072069993704481d93b71add1f1ecda1009ae88;p=libs%2Fgltk.git diff --git a/source/resources.h b/source/resources.h index 77987e8..d83c208 100644 --- a/source/resources.h +++ b/source/resources.h @@ -4,6 +4,7 @@ #include #include #include +#include #include #include "graphic.h" #include "style.h" @@ -20,6 +21,7 @@ class Resources: public DataFile::Collection private: FS::Path path; GL::Font *default_font; + DataFile::DirectorySource *dir_src; public: class Loader: public Collection::Loader @@ -36,6 +38,11 @@ public: public: Resources(); + Resources(const FS::Path &); +private: + void init(); +public: + ~Resources(); const GL::Font &get_default_font() const;