aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTool.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-01-13 14:41:32 (GMT)
committerrathnor <rathnor>2004-01-13 14:41:32 (GMT)
commit6914d00eb772705ee9e2cced1629ac5938361cfe (patch)
tree0f19dc333b5dcddb5628a262f33d1ebb4400dcd5 /src/ButtonTool.cc
parent9475d7bc8226e58a86dd90f01c56c6e0e96a4969 (diff)
downloadfluxbox_pavel-6914d00eb772705ee9e2cced1629ac5938361cfe.zip
fluxbox_pavel-6914d00eb772705ee9e2cced1629ac5938361cfe.tar.bz2
toolbar transparency
Diffstat (limited to 'src/ButtonTool.cc')
-rw-r--r--src/ButtonTool.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ButtonTool.cc b/src/ButtonTool.cc
index 6a3dfa4..a3b4d7b 100644
--- a/src/ButtonTool.cc
+++ b/src/ButtonTool.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: ButtonTool.cc,v 1.2 2003/12/07 16:39:43 fluxgen Exp $ 22// $Id: ButtonTool.cc,v 1.3 2004/01/13 14:41:32 rathnor Exp $
23 23
24#include "ButtonTool.hh" 24#include "ButtonTool.hh"
25 25
@@ -54,6 +54,7 @@ void ButtonTool::renderTheme() {
54 btn.setGC(static_cast<const ButtonTheme &>(theme()).gc()); 54 btn.setGC(static_cast<const ButtonTheme &>(theme()).gc());
55 btn.setBorderColor(theme().border().color()); 55 btn.setBorderColor(theme().border().color());
56 btn.setBorderWidth(theme().border().width()); 56 btn.setBorderWidth(theme().border().width());
57 btn.setAlpha(theme().alpha());
57 58
58 Pixmap old_pm = m_cache_pm; 59 Pixmap old_pm = m_cache_pm;
59 if (!theme().texture().usePixmap()) { 60 if (!theme().texture().usePixmap()) {
@@ -81,5 +82,6 @@ void ButtonTool::renderTheme() {
81 m_image_ctrl.removeImage(old_pm); 82 m_image_ctrl.removeImage(old_pm);
82 83
83 btn.clear(); 84 btn.clear();
85 btn.updateTransparent();
84} 86}
85 87