aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_color.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* menu/background_*: vertices are only recalculated if the size changedAlexander Sulfrian2013-01-131-0/+14
| | | | | | The size of the parent component is cached by the backgrounds and the vertices to draw the backgrounds are only calculated again, if the size of the parent component changed.
* menu: use RgbColor.get_array(?) magic everywhereAlexander Sulfrian2013-01-131-1/+1
|
* remove legacy keywords from file headerAlexander Sulfrian2013-01-131-2/+0
|
* menu/background: backgrounds get to know the parent componentAlexander Sulfrian2013-01-131-4/+7
| | | | | | | | | 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/+51
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