aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/frame.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix includesAlexander Sulfrian2013-01-201-0/+2
|
* remove legacy keywords from file headerAlexander Sulfrian2013-01-131-2/+0
|
* menu: generalized frame_background to backgroundAlexander Sulfrian2013-01-131-31/+3
| | | | | | | | | 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
* menu: frame should not be added to container item listAlexander Sulfrian2013-01-051-2/+19
| | | | | | | | | | | if a frame is constructed, it needs a container as parent to get the size of it, but it should not be in the container item list and should be painted first, to be under every component the inner classes are used as helper classes, to be able to call a virtual method in the constructor of drawable_control to decide whether to add the control to the controls list of the container or not
* menu/frame: added logAlexander Sulfrian2013-01-051-0/+3
|
* menu/frame: Frame should draw its contentsAlexander Sulfrian2013-01-051-0/+2
|
* menu: Container subclasses need a Container as parent/ownerAlexander Sulfrian2013-01-051-2/+2
|
* before set the background of a frame, free old oneAlexander Sulfrian2013-01-051-0/+4
|
* changed from SDL rendering to OpenGLAlexander Sulfrian2013-01-051-2/+4
| | | | draw, repaint methods do not have the SDL_Surface* parameter anymore
* added SDL_Surface* display to all repaint/draw methodsAlexander Sulfrian2013-01-051-2/+2
|
* added parent to controlAlexander Sulfrian2013-01-051-2/+4
| | | | parent is used to delete the objects if the parent is deleted
* started gui frameworkAlexander Sulfrian2013-01-051-0/+61
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