X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flaunchscreen.cpp;h=ccf2101d314c2bea08143fd613f70c8986710969;hb=HEAD;hp=4fd08836d4b8dc7448376f628cf8a4c6dd67ae93;hpb=35332818fc6bad98fe77831de2c51a11326e31aa;p=libs%2Fdemoscene.git diff --git a/source/launchscreen.cpp b/source/launchscreen.cpp index 4fd0883..ccf2101 100644 --- a/source/launchscreen.cpp +++ b/source/launchscreen.cpp @@ -4,11 +4,12 @@ #include #include "launchscreen.h" -using namespace Msp; +namespace Msp { +namespace DemoScene { -LaunchScreen::LaunchScreen(DataFile::Collection &resources): - font(resources.get("ikarius-48.font")), - tech(resources.get("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), @@ -47,3 +48,6 @@ void LaunchScreen::render() renderer.transform(GL::Matrix::translation(0, -1.2, 0)); esc_prompt.render(renderer); } + +} // namespace DemoScene +} // namespace Msp