summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/HeaderFooterWin.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-12-28 20:01:57 +0100
committerPetr Mladek <pmladek@suse.cz>2012-01-10 11:19:10 +0100
commit77ec56689230606281c60b945f3d5edc1e97d7f7 (patch)
treead18b65f4dd45e9c36220ab09700eb9dbac6d38e /sw/source/ui/inc/HeaderFooterWin.hxx
parentcbb7814247ad99eac2de0fac207774755bdfc2bd (diff)
Header/Footer: Show / hide the control immediately.
- When the mouse pointer enters or leaves the headers / footers, show or hide the header / footer control immediately. Waiting for that to appear is annoying; and similarly for disappearing - one usually ended up clicking the header / footer area to speed that up, and had a feeling of misbehaving. - Few related re-paint improvements Signed-off-by: Stefan Knorr (Astron) <heinzlesspam@googlemail.com> Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'sw/source/ui/inc/HeaderFooterWin.hxx')
-rw-r--r--sw/source/ui/inc/HeaderFooterWin.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/inc/HeaderFooterWin.hxx b/sw/source/ui/inc/HeaderFooterWin.hxx
index 247678ea75ae..c895b534846a 100644
--- a/sw/source/ui/inc/HeaderFooterWin.hxx
+++ b/sw/source/ui/inc/HeaderFooterWin.hxx
@@ -58,7 +58,8 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt );
virtual void Select( );
- void ShowAll( bool bShow );
+ virtual void ShowAll( bool bShow );
+ virtual bool Contains( const Point &rDocPt ) const;
bool IsHeader() { return m_bIsHeader; };
bool IsEmptyHeaderFooter( );