aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTool.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-15 16:41:11 (GMT)
committersimonb <simonb>2006-04-15 16:41:11 (GMT)
commit7c7908443302fc66929e19804f0fbd655d4c7f34 (patch)
tree6839a7379b4cc514a5a4ce20ebf0a53123d20ba2 /src/ButtonTool.cc
parent83a3429c395299b5acb85a3f372091037fe12603 (diff)
downloadfluxbox-7c7908443302fc66929e19804f0fbd655d4c7f34.zip
fluxbox-7c7908443302fc66929e19804f0fbd655d4c7f34.tar.bz2
implement vertical toolbar placement options
Diffstat (limited to 'src/ButtonTool.cc')
-rw-r--r--src/ButtonTool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ButtonTool.cc b/src/ButtonTool.cc
index 6560715..d865681 100644
--- a/src/ButtonTool.cc
+++ b/src/ButtonTool.cc
@@ -67,7 +67,7 @@ void ButtonTool::renderTheme(unsigned char alpha) {
67 btn.setBackgroundColor(theme().texture().color()); 67 btn.setBackgroundColor(theme().texture().color());
68 } else { 68 } else {
69 m_cache_pm = m_image_ctrl.renderImage(width(), height(), 69 m_cache_pm = m_image_ctrl.renderImage(width(), height(),
70 theme().texture()); 70 theme().texture(), orientation());
71 btn.setBackgroundPixmap(m_cache_pm); 71 btn.setBackgroundPixmap(m_cache_pm);
72 } 72 }
73 if (old_pm) 73 if (old_pm)
@@ -79,7 +79,7 @@ void ButtonTool::renderTheme(unsigned char alpha) {
79 btn.setPressedColor(static_cast<const ButtonTheme &>(theme()).pressed().color()); 79 btn.setPressedColor(static_cast<const ButtonTheme &>(theme()).pressed().color());
80 } else { 80 } else {
81 m_cache_pressed_pm = m_image_ctrl.renderImage(width(), height(), 81 m_cache_pressed_pm = m_image_ctrl.renderImage(width(), height(),
82 static_cast<const ButtonTheme &>(theme()).pressed()); 82 static_cast<const ButtonTheme &>(theme()).pressed(), orientation());
83 btn.setPressedPixmap(m_cache_pressed_pm); 83 btn.setPressedPixmap(m_cache_pressed_pm);
84 } 84 }
85 85