]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/resources.h
Add a constructor to Resources that loads a datafile
[libs/gltk.git] / source / resources.h
index c61d38abdffac50070c6019add97cbcdbbcf5617..e4d7f731cf10aff1f634e97810a81d9c85cc479d 100644 (file)
@@ -43,7 +43,11 @@ public:
        };
 
        Resources();
+       Resources(const FS::Path &);
+private:
+       void init();
 
+public:
        void set_path(const FS::Path &);
        const GL::Font &get_default_font() const;
 private: