]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/resources.h
Dynamically check for AnimatedObject in Animate
[libs/demoscene.git] / source / resources.h
index 3e0dbc9ef72afe36e0ece4657ff075d6dc366ed4..bb86933e39b7ebaf734f983d17ee5bddaf42f09b 100644 (file)
@@ -3,7 +3,12 @@
 
 #include <msp/datafile/directorysource.h>
 #include <msp/datafile/packsource.h>
+#include <msp/gl/font.h>
 #include <msp/gl/resources.h>
+#include <msp/gl/technique.h>
+
+namespace Msp {
+namespace DemoScene {
 
 class Resources: public Msp::GL::Resources
 {
@@ -11,8 +16,18 @@ private:
        Msp::DataFile::DirectorySource dir_source;
        Msp::DataFile::PackSource pack_source;
 
+       const Msp::GL::Font *ui_font;
+       const Msp::GL::Technique *ui_text_technique;
+
 public:
        Resources(const std::string &);
+
+       const Msp::GL::Font &get_ui_font() const;
+       const Msp::GL::Technique &get_ui_text_technique() const;
+       void set_ui_text_resources(const std::string &, const std::string &);
 };
 
+} // namespace DemoScene
+} // namespace Msp
+
 #endif