aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbWinFrame.cc36
1 files changed, 20 insertions, 16 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index c546d54..0d40122 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.44 2003/09/10 09:53:21 fluxgen Exp $ 22// $Id: FbWinFrame.cc,v 1.45 2003/09/10 21:43:54 fluxgen Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25 25
@@ -688,7 +688,9 @@ void FbWinFrame::redrawTitle() {
688 (*btn_it)->updateTransparent(); 688 (*btn_it)->updateTransparent();
689 } 689 }
690 m_titlebar.clear(); 690 m_titlebar.clear();
691 m_titlebar.updateTransparent();
691 m_label.clear(); 692 m_label.clear();
693 m_label.updateTransparent();
692} 694}
693 695
694void FbWinFrame::redrawTitlebar() { 696void FbWinFrame::redrawTitlebar() {
@@ -1065,6 +1067,7 @@ void FbWinFrame::renderButtonFocus(FbTk::TextButton &button) {
1065 button.setBackgroundColor(m_label_focused_color); 1067 button.setBackgroundColor(m_label_focused_color);
1066 1068
1067 button.clear(); 1069 button.clear();
1070 button.updateTransparent();
1068} 1071}
1069 1072
1070void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) { 1073void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) {
@@ -1079,25 +1082,26 @@ void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) {
1079 button.setBackgroundColor(m_label_unfocused_color); 1082 button.setBackgroundColor(m_label_unfocused_color);
1080 1083
1081 button.clear(); 1084 button.clear();
1085 button.updateTransparent();
1082} 1086}
1083 1087
1084void FbWinFrame::updateTransparent() { 1088void FbWinFrame::updateTransparent() {
1085 redrawTitlebar(); 1089 redrawTitlebar();
1086 1090 /*
1087 ButtonList::iterator button_it = m_buttons_left.begin(); 1091 ButtonList::iterator button_it = m_buttons_left.begin();
1088 ButtonList::iterator button_it_end = m_buttons_left.begin(); 1092 ButtonList::iterator button_it_end = m_buttons_left.begin();
1089 for (; button_it != button_it_end; ++button_it) { 1093 for (; button_it != button_it_end; ++button_it) {
1090 (*button_it)->clear(); 1094 (*button_it)->clear();
1091 (*button_it)->updateTransparent(); 1095 (*button_it)->updateTransparent();
1092 } 1096 }
1093 1097
1094 button_it = m_buttons_right.begin(); 1098 button_it = m_buttons_right.begin();
1095 button_it_end = m_buttons_right.end(); 1099 button_it_end = m_buttons_right.end();
1096 for (; button_it != button_it_end; ++button_it) { 1100 for (; button_it != button_it_end; ++button_it) {
1097 (*button_it)->clear(); 1101 (*button_it)->clear();
1098 (*button_it)->updateTransparent(); 1102 (*button_it)->updateTransparent();
1099 } 1103 }
1100 1104 */
1101 m_grip_left.updateTransparent(); 1105 m_grip_left.updateTransparent();
1102 m_grip_right.updateTransparent(); 1106 m_grip_right.updateTransparent();
1103 m_handle.updateTransparent(); 1107 m_handle.updateTransparent();