aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* changed from SDL rendering to OpenGLAlexander Sulfrian2013-01-051-4/+2
| | | | 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
|
* started gui frameworkAlexander Sulfrian2013-01-051-3/+3
| | | | | | | | | | 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
* make on_draw protectedAlexander Sulfrian2013-01-051-5/+6
| | | | | external classes have to call draw instead of on_draw (so that visible gets evaluated)
* added drawable abstract base classAlexander Sulfrian2013-01-051-0/+66