aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 9df9012..9e7eedf 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -650,6 +650,18 @@ void FbWinFrame::setLabelButtonFocus(FbTk::TextButton &btn) {
650 applyActiveLabel(*m_current_label); 650 applyActiveLabel(*m_current_label);
651} 651}
652 652
653void FbWinFrame::setLabelButtonFocus(FbTk::TextButton &btn, bool value) {
654 if (btn.parent() != &m_tab_container)
655 return;
656
657 if (value)
658 applyFocusLabel(btn);
659 else
660 applyUnfocusLabel(btn);
661
662 btn.clear();
663}
664
653void FbWinFrame::setClientWindow(FbTk::FbWindow &win) { 665void FbWinFrame::setClientWindow(FbTk::FbWindow &win) {
654 666
655 win.setBorderWidth(0); 667 win.setBorderWidth(0);