X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgameview%2Fapplication.h;h=0a2aea2923f3d033f9f602eb209629255bece0cb;hb=e55354bb994276f83592397899bdf77926e8c769;hp=5bbc95dee538a5931f4fed7e9e00b7fd346f7c6d;hpb=86c345922f02587d6c49e637535adf5494819652;p=libs%2Fgame.git diff --git a/source/gameview/application.h b/source/gameview/application.h index 5bbc95d..0a2aea2 100644 --- a/source/gameview/application.h +++ b/source/gameview/application.h @@ -19,11 +19,11 @@ public: using ResourcesType = R; protected: - Msp::Graphics::Display display; - Msp::Graphics::Window window; + Graphics::Display display; + Graphics::Window window; GL::Device gl_device; ResourcesType resources; - Msp::Game::Director director; + Game::Director director; GL::WindowView gl_view; Presenter presenter; PlayerInput player_input; @@ -45,6 +45,7 @@ Application::Application(): presenter(director, gl_view), player_input(director, window) { + window.set_keyboard_autorepeat(false); window.signal_close.connect(sigc::bind(sigc::mem_fun(this, &Application::exit), 0)); }