aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_image.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-21utils/activator: removed unnecessary templateAlexander Sulfrian1-1/+1
2013-01-20fix includesAlexander Sulfrian1-0/+2
2013-01-13menu/background_*: vertices are only recalculated if the size changedAlexander Sulfrian1-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.
2013-01-13menu/background_image: remove the unused texture colorAlexander Sulfrian1-4/+1
2013-01-13menu/texture: implement GlDelayedAllocation interfaceAlexander Sulfrian1-16/+9
Textures are now initialized during their first use, destroyed after their last used and could be use with the Activator.
2013-01-13menu: use RgbColor.get_array(?) magic everywhereAlexander Sulfrian1-15/+2
2013-01-13remove legacy keywords from file headerAlexander Sulfrian1-2/+0
2013-01-13menu: enable (and disable) glTexture only if neededAlexander Sulfrian1-0/+3
2013-01-13menu/background: backgrounds get to know the parent componentAlexander Sulfrian1-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.
2013-01-13menu: generalized frame_background to backgroundAlexander Sulfrian1-4/+4
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
2013-01-05menu: use 2d coordinates for openglAlexander Sulfrian1-9/+5
2013-01-05added FrameBackgroundImageAlexander Sulfrian1-0/+102