| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Class definitions have to end with a semicolon but not namespaces. So
remove this everywhere.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Textures are now initialized during their first use, destroyed after
their last used and could be use with the Activator.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
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
|