summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/HeaderFooterWin.cxx
diff options
context:
space:
mode:
authorThomas Collerton <tom.coll91@gmail.com>2011-11-18 12:17:13 +0100
committerC├ędric Bosdonnat <cedric.bosdonnat@free.fr>2011-11-21 14:27:49 +0100
commita1efc7fdcd80484977bc289d1d27b7b6d33757ff (patch)
treedfbc93210f061499d002021e5fb9ce58fcf89f7a /sw/source/ui/docvw/HeaderFooterWin.cxx
parent2cc144286d81236e8677a551a458172ca9546c29 (diff)
Improved Header/Footer UI framerate
Diffstat (limited to 'sw/source/ui/docvw/HeaderFooterWin.cxx')
-rw-r--r--sw/source/ui/docvw/HeaderFooterWin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx
index 1db769a5f3b8..076ce17a4cd1 100644
--- a/sw/source/ui/docvw/HeaderFooterWin.cxx
+++ b/sw/source/ui/docvw/HeaderFooterWin.cxx
@@ -191,7 +191,7 @@ SwHeaderFooterWin::SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPag
m_pPopupMenu->SetItemText( FN_HEADERFOOTER_DELETE, aRewriter.Apply( aText ) );
SetPopupMenu( m_pPopupMenu );
- m_aFadeTimer.SetTimeout( 500 );
+ m_aFadeTimer.SetTimeout( 50 );
m_aFadeTimer.SetTimeoutHdl( LINK( this, SwHeaderFooterWin, FadeHandler ) );
}
@@ -501,9 +501,9 @@ void SwHeaderFooterWin::Select( )
IMPL_LINK( SwHeaderFooterWin, FadeHandler, Timer *, EMPTYARG )
{
if ( m_bIsAppearing && m_nFadeRate > 0 )
- m_nFadeRate -= 10;
+ m_nFadeRate -= 25;
else if ( !m_bIsAppearing && m_nFadeRate < 100 )
- m_nFadeRate += 10;
+ m_nFadeRate += 25;
if ( m_nFadeRate != 100 && !IsVisible() )
{