aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/container.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* menu: Container could contains and draw DrawableControlsAlexander Sulfrian2013-01-051-7/+6
| | | | | | DrawableControls register/unregister itself during construction/destruction at the Container (supplied as owner) and get automatically drawn
* changed from SDL rendering to OpenGLAlexander Sulfrian2013-01-051-2/+1
| | | | draw, repaint methods do not have the SDL_Surface* parameter anymore
* added SDL_Surface* display to all repaint/draw methodsAlexander Sulfrian2013-01-051-2/+4
|
* added parent to controlAlexander Sulfrian2013-01-051-1/+1
| | | | parent is used to delete the objects if the parent is deleted
* started gui frameworkAlexander Sulfrian2013-01-051-0/+53
renamed menubackground to framebackground and splited out framebackgroundcolor created control as base class renamed draw to repaint and on_draw to draw in drawable implemented drawablecontrol as base for all visible controls on windows created container (subclass of drawablecontrol) that could contain other drawablecontrols created frame (subclass of container) with a background added openGL ldflag