]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/ColorFade.h
removed now superfluous Application parameter to State callbacks
[l2e.git] / src / graphics / ColorFade.h
index 26942726e5c6d7e772c313e634b318fc4a0b9b29..079d30ea74a44a49f53c0707d6136fc9f97c8a96 100644 (file)
@@ -32,10 +32,10 @@ public:
        virtual void Render(SDL_Surface *);
 
 private:
-       virtual void OnEnterState(app::Application &ctrl, SDL_Surface *screen);
-       virtual void OnExitState(app::Application &ctrl, SDL_Surface *screen);
-       virtual void OnResumeState(app::Application &ctrl, SDL_Surface *screen);
-       virtual void OnPauseState(app::Application &ctrl, SDL_Surface *screen);
+       virtual void OnEnterState(SDL_Surface *screen);
+       virtual void OnExitState(SDL_Surface *screen);
+       virtual void OnResumeState(SDL_Surface *screen);
+       virtual void OnPauseState(SDL_Surface *screen);
 
        virtual void OnResize(int width, int height);
 
@@ -45,7 +45,6 @@ private:
 
 private:
        app::Timer<Uint32> timer;
-       app::Application *ctrl;
        app::State *slave;
        SDL_Surface *blinds;
        Uint32 color;