aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/application.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-04remove semicolon after namespaceAlexander Sulfrian1-1/+1
Class definitions have to end with a semicolon but not namespaces. So remove this everywhere.
2013-01-21menu/application: add is_runningAlexander Sulfrian1-0/+5
2013-01-21menu/application: add quit() to quit the app from everywhereAlexander Sulfrian1-5/+9
2013-01-21menu/application: add free to allow multiple runsAlexander Sulfrian1-0/+6
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).
2013-01-20fix includesAlexander Sulfrian1-3/+8
2013-01-18menu: add mouse manager for handling mouse focus and clicksAlexander Sulfrian1-0/+2
2013-01-18menu/application: toggle debug boxes with dAlexander Sulfrian1-0/+5
2013-01-13menu: add some commentsAlexander Sulfrian1-1/+4
2013-01-13menu/application: add possibility to query if ogl threadAlexander Sulfrian1-0/+8
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.
2013-01-13base/config: add graphics.fullscreen optionAlexander Sulfrian1-5/+7
2013-01-13base/config: add graphics.resolution config optionAlexander Sulfrian1-1/+2
The resolution could controlled by the appropriate config option. The value from the config file is parsed/serialized with the DimensionTranslator.
2013-01-13base/config: add basic config infrastructureAlexander Sulfrian1-1/+12
2013-01-13remove legacy keywords from file headerAlexander Sulfrian1-2/+0
2013-01-13menu: enable (and disable) glTexture only if neededAlexander Sulfrian1-1/+0
2013-01-13menu/background: backgrounds get to know the parent componentAlexander Sulfrian1-0/+2
Backgrounds now know the parent control, they are painted in, to query the size. Backgrounds are not allowed to use glClear anymore, should only draw something during the extend of the parent control and should take care to do not modify the opengl cursor position.
2013-01-13menu/application: group the opengl init stepsAlexander Sulfrian1-4/+3
2013-01-13menu/application: whitespace fixAlexander Sulfrian1-2/+2
2013-01-13menu/application: disable opengl depth buffer (only 2d needed)Alexander Sulfrian1-0/+1
2013-01-13menu/application: alpha blending should not be enabled by defaultAlexander Sulfrian1-4/+0
2013-01-05menu/application: renamed test variableAlexander Sulfrian1-2/+2
2013-01-05menu/application: simplified codeAlexander Sulfrian1-2/+1
2013-01-05menu: keep frame in containerAlexander Sulfrian1-21/+1
before the current frame was stored in application, now every container could keep a frame and paint it before all other content
2013-01-05menu/application: removed display width/height, use DrawableControl::sizeAlexander Sulfrian1-23/+13
2013-01-05menu: clean quit after pressing qAlexander Sulfrian1-0/+10
2013-01-05menu/application: Application now is also a container for the overlaysAlexander Sulfrian1-19/+4
2013-01-05menu: Container subclasses need a Container as parent/ownerAlexander Sulfrian1-1/+1
2013-01-05Makefile.inc: modularized flags, removed include dirsAlexander Sulfrian1-1/+1
2013-01-05ported from log4cxx to log4cppAlexander Sulfrian1-5/+7
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
2013-01-05changed all wstring/wchar_t to string/charAlexander Sulfrian1-2/+2
2013-01-05added first frame and sub directory for framesAlexander Sulfrian1-0/+4
loading screen: currently only with background
2013-01-05changed from SDL rendering to OpenGLAlexander Sulfrian1-11/+41
draw, repaint methods do not have the SDL_Surface* parameter anymore
2013-01-05added software cursorAlexander Sulfrian1-0/+7
2013-01-05changed screen to display (only local naming)Alexander Sulfrian1-2/+2
changed that naming to be consistent to all other draw methods
2013-01-05added overlaysAlexander Sulfrian1-0/+18
added list of drawable controls that are drawn over all frames
2013-01-05added event_managerAlexander Sulfrian1-4/+16
event_manager for passing the events from the SDL thread to the event thread
2013-01-05refactor some things with FPSmanagerAlexander Sulfrian1-7/+28
2013-01-05reset singleton instance on destructionAlexander Sulfrian1-0/+3
2013-01-05added main applicationAlexander Sulfrian1-0/+139
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