From bbcfc75cc9eb8cf560b7a4f5f87487f73f45de20 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 27 Jan 2007 20:34:57 +0000 Subject: minor cleaning --- src/FbWinFrame.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index c0a4a21..30d8389 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc @@ -510,7 +510,8 @@ void FbWinFrame::setFocus(bool newvalue) { m_focused = newvalue; - if (FbTk::Transparent::haveRender() && getAlpha(true) != getAlpha(false)) { // different alpha for focused and unfocused + if (FbTk::Transparent::haveRender() && + getAlpha(true) != getAlpha(false)) { // different alpha for focused and unfocused unsigned char alpha = getAlpha(m_focused); if (FbTk::Transparent::haveComposite()) { m_tab_container.setAlpha(255); @@ -533,8 +534,7 @@ void FbWinFrame::setFocus(bool newvalue) { } void FbWinFrame::setAlpha(bool focused, unsigned char alpha) { - if (m_use_default_alpha == 2) - { + if (m_use_default_alpha == 2) { /// Set basic defaults m_focused_alpha = getAlpha(true); m_unfocused_alpha = getAlpha(false); @@ -546,7 +546,7 @@ void FbWinFrame::setAlpha(bool focused, unsigned char alpha) { else m_unfocused_alpha = alpha; - if(m_focused == focused) + if (m_focused == focused) m_window.setOpaque(alpha); } -- cgit v0.11.2