diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2011-02-22 14:53:18 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-02-22 14:53:18 (GMT) |
commit | b7e84104a695bb3628e482c4be93f6f516e46e7d (patch) | |
tree | 4bc731f7d65291c1b38e077feba5379f53ce8a66 /src/FbTk | |
parent | 3c7407beb4cca20392107545c5bc055c48f55ba8 (diff) | |
download | fluxbox-b7e84104a695bb3628e482c4be93f6f516e46e7d.zip fluxbox-b7e84104a695bb3628e482c4be93f6f516e46e7d.tar.bz2 |
bugfix: render 'sunken' gradients correctly
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/TextureRender.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextureRender.cc b/src/FbTk/TextureRender.cc index c66dfa7..89a88ea 100644 --- a/src/FbTk/TextureRender.cc +++ b/src/FbTk/TextureRender.cc | |||
@@ -1457,7 +1457,7 @@ Pixmap TextureRender::renderGradient(const FbTk::Texture &texture) { | |||
1457 | // invert our width and height if necessary | 1457 | // invert our width and height if necessary |
1458 | translateSize(orientation, width, height); | 1458 | translateSize(orientation, width, height); |
1459 | 1459 | ||
1460 | bool inverted = texture.type() & Texture::SUNKEN; | 1460 | bool inverted = texture.type() & Texture::INVERT; |
1461 | const Color* from = &(texture.color()); | 1461 | const Color* from = &(texture.color()); |
1462 | const Color* to = &(texture.colorTo()); | 1462 | const Color* to = &(texture.colorTo()); |
1463 | 1463 | ||