aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/frame_background_color.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* menu: generalized frame_background to backgroundAlexander Sulfrian2013-01-131-51/+0
| | | | | | | | | background could now be a background for all DrawableControl instances each subclass should call the parents draw() during executing the draw() method for background painting TODO: background should know the size of the control to only draw the background there
* changed from SDL rendering to OpenGLAlexander Sulfrian2013-01-051-3/+2
| | | | draw, repaint methods do not have the SDL_Surface* parameter anymore
* added SDL_Surface* display to all repaint/draw methodsAlexander Sulfrian2013-01-051-1/+3
|
* started gui frameworkAlexander Sulfrian2013-01-051-0/+50
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