diff options
-rw-r--r-- | src/FbWinFrame.cc | 9 |
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 | ||
1164 | void FbWinFrame::renderButtonActive(FbTk::TextButton &button) { | 1167 | void 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 | ||
1184 | void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) { | 1188 | void 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 | ||
1201 | void FbWinFrame::updateTransparent() { | 1206 | void FbWinFrame::updateTransparent() { |