aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_image.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove semicolon after namespaceAlexander Sulfrian2014-05-041-2/+1
| | | | | Class definitions have to end with a semicolon but not namespaces. So remove this everywhere.
* menu/background_*: vertices are only recalculated if the size changedAlexander Sulfrian2013-01-131-0/+19
| | | | | | 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-2/+0
|
* menu/texture: implement GlDelayedAllocation interfaceAlexander Sulfrian2013-01-131-2/+5
| | | | | Textures are now initialized during their first use, destroyed after their last used and could be use with the Activator.
* menu: add some commentsAlexander Sulfrian2013-01-131-0/+4
|
* menu: use RgbColor.get_array(?) magic everywhereAlexander Sulfrian2013-01-131-1/+2
|
* remove legacy keywords from file headerAlexander Sulfrian2013-01-131-2/+0
|
* menu/background: backgrounds get to know the parent componentAlexander Sulfrian2013-01-131-3/+5
| | | | | | | | | 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/+57
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