diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 12 |
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 | ||
653 | void 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 | |||
653 | void FbWinFrame::setClientWindow(FbTk::FbWindow &win) { | 665 | void FbWinFrame::setClientWindow(FbTk::FbWindow &win) { |
654 | 666 | ||
655 | win.setBorderWidth(0); | 667 | win.setBorderWidth(0); |