]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/launchscreen.h
Define UI text font and technique in Resources instead of hardcoding
[libs/demoscene.git] / source / launchscreen.h
index 7c4a923ddd2363c6af3d573e45ab1ef89c265bc3..e4c737f4a3c9ac020ab848ff790af2fe1d43e23c 100644 (file)
@@ -1,11 +1,11 @@
 #ifndef MSP_DEMOSCENE_LAUNCHSCREEN_H_
 #define MSP_DEMOSCENE_LAUNCHSCREEN_H_
 
-#include <msp/datafile/collection.h>
 #include <msp/gl/camera.h>
 #include <msp/gl/font.h>
 #include <msp/gl/technique.h>
 #include <msp/gl/text.h>
+#include "resources.h"
 
 class LaunchScreen
 {
@@ -19,7 +19,7 @@ private:
        Msp::GL::Camera camera;
 
 public:
-       LaunchScreen(Msp::DataFile::Collection &);
+       LaunchScreen(Resources &);
 
        void set_countdown(unsigned);