aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-12-11 12:48:39 (GMT)
committerrathnor <rathnor>2003-12-11 12:48:39 (GMT)
commit67bbf9ff2c7efd0b78932f7460c8c3720c80f631 (patch)
treebc29ddf087df6f0655da8c2f583f2acefb6d52c3
parent1937241f707e2e1df1fa3b2799ae43d563ae6618 (diff)
downloadfluxbox_paul-67bbf9ff2c7efd0b78932f7460c8c3720c80f631.zip
fluxbox_paul-67bbf9ff2c7efd0b78932f7460c8c3720c80f631.tar.bz2
fix up label transparency
-rw-r--r--src/FbWinFrame.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 3270525..4ceaffe 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.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: FbWinFrame.cc,v 1.64 2003/12/09 08:48:08 rathnor Exp $ 22// $Id: FbWinFrame.cc,v 1.65 2003/12/11 12:48:39 rathnor Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25 25
@@ -743,8 +743,10 @@ void FbWinFrame::redrawTitle() {
743 (*btn_it)->moveResize(last_x - border_width, - border_width, 743 (*btn_it)->moveResize(last_x - border_width, - border_width,
744 button_width + extra, 744 button_width + extra,
745 label().height() + border_width); 745 label().height() + border_width);
746 if (isVisible()) 746 if (isVisible()) {
747 (*btn_it)->clear(); 747 (*btn_it)->clear();
748 (*btn_it)->updateTransparent();
749 }
748 } 750 }
749 751
750 if (isVisible()) { 752 if (isVisible()) {
@@ -1159,6 +1161,7 @@ void FbWinFrame::renderButtonFocus(FbTk::TextButton &button) {
1159 button.setBackgroundColor(m_label_focused_color); 1161 button.setBackgroundColor(m_label_focused_color);
1160 1162
1161 button.clear(); 1163 button.clear();
1164 button.updateTransparent();
1162} 1165}
1163 1166
1164void FbWinFrame::renderButtonActive(FbTk::TextButton &button) { 1167void FbWinFrame::renderButtonActive(FbTk::TextButton &button) {
@@ -1179,6 +1182,7 @@ void FbWinFrame::renderButtonActive(FbTk::TextButton &button) {
1179 button.setBackgroundColor(m_label_active_color); 1182 button.setBackgroundColor(m_label_active_color);
1180 1183
1181 button.clear(); 1184 button.clear();
1185 button.updateTransparent();
1182} 1186}
1183 1187
1184void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) { 1188void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) {
@@ -1196,6 +1200,7 @@ void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) {
1196 button.setBackgroundColor(m_label_unfocused_color); 1200 button.setBackgroundColor(m_label_unfocused_color);
1197 1201
1198 button.clear(); 1202 button.clear();
1203 button.updateTransparent();
1199} 1204}
1200 1205
1201void FbWinFrame::updateTransparent() { 1206void FbWinFrame::updateTransparent() {