aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_image.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove legacy keywords from file headerAlexander Sulfrian2013-01-131-2/+0
|
* menu: enable (and disable) glTexture only if neededAlexander Sulfrian2013-01-131-0/+3
|
* menu/background: backgrounds get to know the parent componentAlexander Sulfrian2013-01-131-19/+14
| | | | | | | | | Backgrounds now know the parent control, they are painted in, to query the size. Backgrounds are not allowed to use glClear anymore, should only draw something during the extend of the parent control and should take care to do not modify the opengl cursor position.
* menu: generalized frame_background to backgroundAlexander Sulfrian2013-01-131-0/+98
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