aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/application.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove semicolon after namespaceAlexander Sulfrian2014-05-041-1/+1
| | | | | Class definitions have to end with a semicolon but not namespaces. So remove this everywhere.
* menu/application: add is_runningAlexander Sulfrian2013-01-211-0/+2
|
* menu/application: add quit() to quit the app from everywhereAlexander Sulfrian2013-01-211-0/+2
|
* menu/application: add free to allow multiple runsAlexander Sulfrian2013-01-211-0/+2
| | | | | | free() is used to reset the instance of this singleton, so that it gets recreated on the next access. This allows multiple creation/deletion cycles (for example in the tests).
* menu/application: add possibility to query if ogl threadAlexander Sulfrian2013-01-131-0/+3
| | | | | | | opengl calls should only executed in the thread, that created the opengl context. To query whether the current thread is the opengl thread, the application class stores the current thread id of the opengl thread after initializing opengl.
* base/config: add basic config infrastructureAlexander Sulfrian2013-01-131-0/+4
|
* remove legacy keywords from file headerAlexander Sulfrian2013-01-131-2/+0
|
* menu: keep frame in containerAlexander Sulfrian2013-01-051-6/+0
| | | | | before the current frame was stored in application, now every container could keep a frame and paint it before all other content
* menu/application: removed display width/height, use DrawableControl::sizeAlexander Sulfrian2013-01-051-6/+0
|
* menu/application: Application now is also a container for the overlaysAlexander Sulfrian2013-01-051-6/+1
|
* menu: Container subclasses need a Container as parent/ownerAlexander Sulfrian2013-01-051-1/+2
|
* ported from log4cxx to log4cppAlexander Sulfrian2013-01-051-2/+2
| | | | | | log4cxx depends on Apache Portable Runtime Utility Library, so we switch to log4cpp with nearly the same features but with no dependencies for easier porting to other platforms
* changed from SDL rendering to OpenGLAlexander Sulfrian2013-01-051-2/+2
| | | | draw, repaint methods do not have the SDL_Surface* parameter anymore
* changed screen to display (only local naming)Alexander Sulfrian2013-01-051-1/+1
| | | | changed that naming to be consistent to all other draw methods
* added overlaysAlexander Sulfrian2013-01-051-0/+5
| | | | added list of drawable controls that are drawn over all frames
* refactor some things with FPSmanagerAlexander Sulfrian2013-01-051-0/+7
|
* added main applicationAlexander Sulfrian2013-01-051-0/+79
added makefile added main function (src/main.cpp) added Application-class with sdl initialisation and main loop added log4cxx.xml configuration for main application adjusted .gitignore