diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-17 13:34:12 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-17 13:34:12 (GMT) |
commit | e84c64f7be701e04ec2a2e0fbf980aa4fc9685ad (patch) | |
tree | c290b1e8e86e655e3b37e92477d9cab080243b1f /src/StyleMenuItem.cc | |
parent | 603b36a2ccfb6f825dff7259c4d5397c896cc08e (diff) | |
download | fluxbox-e84c64f7be701e04ec2a2e0fbf980aa4fc9685ad.zip fluxbox-e84c64f7be701e04ec2a2e0fbf980aa4fc9685ad.tar.bz2 |
lots of code cleanup, reordering, trimming public API, bugfixes
## FbTk/ImageControl.hh:
* moved 'getSqrt()' over to TextureRender.cc because it is used only there
* removed unused members m_root_window
* use std::vector<> for colors and for the gradient buffers.
## FbTk/ImageControl.cc:
* fixed memory leak in '~ImageControl', 'pixels' where not deleted[]
at all. switched to std::vector, non-issue anymore.
* moved identical code into functions 'allocateUnallocatedColors', 'initColortables'
## FbTk/TextureRenderer:
* removed 'from', 'to', 'interlaced' from class, only used in
'renderGradient()' and are actually part of the given
texture.
* removed 'xtable', 'ytable' from class, only used in
'renderGradient()'
* removed 'colors' from the class, is part of 'control'
* moved render actions (invert, bevel1, bevel2, *gradient), they need more
love but for now this is sufficient
Diffstat (limited to 'src/StyleMenuItem.cc')
0 files changed, 0 insertions, 0 deletions