#include <msp/strings/format.h>
#include "launchscreen.h"
-using namespace Msp;
+namespace Msp {
+namespace DemoScene {
-LaunchScreen::LaunchScreen(DataFile::Collection &resources):
- font(resources.get<GL::Font>("ikarius-48.font")),
- tech(resources.get<GL::Technique>("basic_text.tech")),
+LaunchScreen::LaunchScreen(Resources &resources):
+ font(resources.get_ui_font()),
+ tech(resources.get_ui_text_technique()),
countdown(font, &tech),
countdown_value(0),
enter_prompt(font, &tech),
renderer.transform(GL::Matrix::translation(0, -1.2, 0));
esc_prompt.render(renderer);
}
+
+} // namespace DemoScene
+} // namespace Msp