aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable_control.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* menu: frame should not be added to container item listAlexander Sulfrian2013-01-051-3/+21
| | | | | | | | | | | 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/drawable_control: added logAlexander Sulfrian2013-01-051-0/+3
|
* menu: Container could contains and draw DrawableControlsAlexander Sulfrian2013-01-051-2/+9
| | | | | | DrawableControls register/unregister itself during construction/destruction at the Container (supplied as owner) and get automatically drawn
* added parent to controlAlexander Sulfrian2013-01-051-1/+2
| | | | parent is used to delete the objects if the parent is deleted
* started gui frameworkAlexander Sulfrian2013-01-051-0/+38
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