From bf4827f46f22b4df0fa2ddd6716fd59247f9e1bb Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 2 Oct 2010 01:52:19 +0200 Subject: Ported from SDL to SFML. --- application.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'application.h') diff --git a/application.h b/application.h index ea8d899..4504e9e 100644 --- a/application.h +++ b/application.h @@ -1,18 +1,18 @@ #ifndef APPLICATION_H #define APPLICATION_H -#include +#include class Application { private: - SDL_Surface *surface; + sf::Window* window; bool please_quit; protected: void init_window(unsigned int w, unsigned int h, bool fs = false); - virtual void event(const SDL_Event& e); - virtual void event_keypress(SDLKey key); + virtual void event(const sf::Event& e); + virtual void event_keypress(sf::Key::Code key); virtual void update() = 0; -- cgit v1.2.3