diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-04-26 16:22:52 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:48 +0100 |
commit | 7a1e0a7f05a75f64c5ae12c67a3e36d50a4596a7 (patch) | |
tree | b1052b4ee533f187bcb523e4e8d7db047b3a3262 /src/menu/application.hpp | |
parent | a17ab6c52cf7f8db93558d1d822aa59713b20210 (diff) | |
download | usdx-7a1e0a7f05a75f64c5ae12c67a3e36d50a4596a7.tar.gz usdx-7a1e0a7f05a75f64c5ae12c67a3e36d50a4596a7.tar.xz usdx-7a1e0a7f05a75f64c5ae12c67a3e36d50a4596a7.zip |
refactor some things with FPSmanager
Diffstat (limited to '')
-rw-r--r-- | src/menu/application.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/menu/application.hpp b/src/menu/application.hpp index b750241a..99036d51 100644 --- a/src/menu/application.hpp +++ b/src/menu/application.hpp @@ -51,11 +51,15 @@ namespace usdx int display_width; int display_height; + int frames_per_second; + /** * This is the main loop. */ void main_loop(SDL_Surface* display); + void init_fps_manager(void); + protected: Application(Control* parent); @@ -73,6 +77,9 @@ namespace usdx const int get_display_width(void) const; const int get_display_height(void) const; + + const int get_frames_per_second(void) const; + void set_frames_per_second(int fps); }; }; |