aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/application.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-03-22 17:07:36 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:52 +0100
commite53dba73eca8238775df52e4177d83eb0a473de2 (patch)
tree52bf6e5800bc7e777769b5e57692cbb5719fb6e8 /src/menu/application.hpp
parent1c39e66f571fb9767257740ee74889ce0eb78993 (diff)
downloadusdx-e53dba73eca8238775df52e4177d83eb0a473de2.tar.gz
usdx-e53dba73eca8238775df52e4177d83eb0a473de2.tar.xz
usdx-e53dba73eca8238775df52e4177d83eb0a473de2.zip
menu: keep frame in container
before the current frame was stored in application, now every container could keep a frame and paint it before all other content
Diffstat (limited to 'src/menu/application.hpp')
-rw-r--r--src/menu/application.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/menu/application.hpp b/src/menu/application.hpp
index 72e5f3a3..de23cf6d 100644
--- a/src/menu/application.hpp
+++ b/src/menu/application.hpp
@@ -44,7 +44,6 @@ namespace usdx
static Application* instance;
SDL_Surface* display;
- Frame* frame;
FPSmanager* fps_manager;
bool running;
@@ -61,8 +60,6 @@ namespace usdx
protected:
Application(Container* parent);
- void draw(void);
-
public:
virtual ~Application();
@@ -70,9 +67,6 @@ namespace usdx
void run(void);
- const Frame* get_current_frame(void) const;
- void set_current_frame(Frame* new_frame);
-
const int get_frames_per_second(void) const;
void set_frames_per_second(int fps);
};