From e4426f0019cbde1035011e30e740bdbfffafa5ee Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 29 Apr 2010 10:48:28 +0200 Subject: added overlays added list of drawable controls that are drawn over all frames --- src/menu/application.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/menu/application.hpp') diff --git a/src/menu/application.hpp b/src/menu/application.hpp index 99036d51..24d0b44f 100644 --- a/src/menu/application.hpp +++ b/src/menu/application.hpp @@ -30,6 +30,7 @@ #include #include #include +#include #include "drawable_control.hpp" #include "frame.hpp" @@ -53,6 +54,8 @@ namespace usdx int frames_per_second; + std::list overlays; + /** * This is the main loop. */ @@ -80,6 +83,8 @@ namespace usdx const int get_frames_per_second(void) const; void set_frames_per_second(int fps); + + void repaint(SDL_Surface* display) const; }; }; -- cgit v1.2.3