diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-21 02:35:42 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-21 02:35:42 +0100 |
commit | 2d0c6b87b1cca855679b14123d42f9b015936c3f (patch) | |
tree | ac870500c582fbfd54d0e9e6beda1a7a2f853784 /src/menu | |
parent | cbd5d2435dd143308c434076e06809ed65217561 (diff) | |
download | usdx-2d0c6b87b1cca855679b14123d42f9b015936c3f.tar.gz usdx-2d0c6b87b1cca855679b14123d42f9b015936c3f.tar.xz usdx-2d0c6b87b1cca855679b14123d42f9b015936c3f.zip |
menu/application: add is_running
Diffstat (limited to 'src/menu')
-rw-r--r-- | src/menu/application.cpp | 5 | ||||
-rw-r--r-- | src/menu/application.hpp | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp index 55edd69c..a5b90796 100644 --- a/src/menu/application.cpp +++ b/src/menu/application.cpp @@ -239,4 +239,9 @@ namespace usdx SDL_initFramerate(fps_manager); } } + + bool Application::is_running(void) const + { + return running; + } }; diff --git a/src/menu/application.hpp b/src/menu/application.hpp index a0c82107..151b34ae 100644 --- a/src/menu/application.hpp +++ b/src/menu/application.hpp @@ -78,6 +78,8 @@ namespace usdx const int get_frames_per_second(void) const; void set_frames_per_second(int fps); + + bool is_running(void) const; }; }; |