aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_image.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* menu/background_*: vertices are only recalculated if the size changedAlexander Sulfrian2013-01-131-9/+15
| | | | | | 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/background_image: remove the unused texture colorAlexander Sulfrian2013-01-131-4/+1
|
* menu/texture: implement GlDelayedAllocation interfaceAlexander Sulfrian2013-01-131-16/+9
| | | | | Textures are now initialized during their first use, destroyed after their last used and could be use with the Activator.
* menu: use RgbColor.get_array(?) magic everywhereAlexander Sulfrian2013-01-131-15/+2
|
* 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