aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextureRender.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-10-06 09:30:54 (GMT)
committerfluxgen <fluxgen>2004-10-06 09:30:54 (GMT)
commit997d7d72244911c7224775f2e4c0f62a1dcd32ef (patch)
tree766e3ad980c0d1476cd51c3ce7feccbf2b46b73c /src/FbTk/TextureRender.hh
parentfa8c8699d412dce1536839400587d1e74d769718 (diff)
downloadfluxbox-997d7d72244911c7224775f2e4c0f62a1dcd32ef.zip
fluxbox-997d7d72244911c7224775f2e4c0f62a1dcd32ef.tar.bz2
allocate red, green and blue buffers only for gradients
Diffstat (limited to 'src/FbTk/TextureRender.hh')
-rw-r--r--src/FbTk/TextureRender.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/TextureRender.hh b/src/FbTk/TextureRender.hh
index f07a5c7..0139dcb 100644
--- a/src/FbTk/TextureRender.hh
+++ b/src/FbTk/TextureRender.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: TextureRender.hh,v 1.2 2003/04/28 22:27:29 fluxgen Exp $ 25// $Id: TextureRender.hh,v 1.3 2004/10/06 09:30:54 fluxgen Exp $
26 26
27#ifndef FBTK_TEXTURRENDER_HH 27#ifndef FBTK_TEXTURRENDER_HH
28#define FBTK_TEXTURRENDER_HH 28#define FBTK_TEXTURRENDER_HH
@@ -54,6 +54,8 @@ public:
54 /// scales and renders a pixmap 54 /// scales and renders a pixmap
55 Pixmap renderPixmap(const FbTk::Texture &src_texture); 55 Pixmap renderPixmap(const FbTk::Texture &src_texture);
56private: 56private:
57 /// allocates red, green and blue for gradient rendering
58 void allocateColorTables();
57 /** 59 /**
58 Render to pixmap 60 Render to pixmap
59 @return rendered pixmap 61 @return rendered pixmap