LibreOffice Module sw (master)  1
SidebarScrollBar.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef INCLUDED_SW_SOURCE_UIBASE_DOCVW_SIDEBARSCROLLBAR_HXX
11 #define INCLUDED_SW_SOURCE_UIBASE_DOCVW_SIDEBARSCROLLBAR_HXX
12 
13 #include <vcl/scrbar.hxx>
14 
15 class SwView;
16 namespace sw::annotation
17 {
18 class SwAnnotationWin;
19 }
20 
21 namespace sw::sidebarwindows
22 {
25 {
28 
29 protected:
31  void LogicInvalidate(const tools::Rectangle* pRectangle) override;
32  void MouseMove(const MouseEvent& rMouseEvent) override;
33  void MouseButtonUp(const MouseEvent& rMouseEvent) override;
34 
35 public:
36  SidebarScrollBar(sw::annotation::SwAnnotationWin& rSidebarWin, WinBits nStyle, SwView& rView);
37  ~SidebarScrollBar() override;
38 };
39 }
40 
41 #endif
42 
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Int64 WinBits
void MouseButtonUp(const MouseEvent &rMouseEvent) override
void MouseMove(const MouseEvent &rMouseEvent) override
SidebarScrollBar(sw::annotation::SwAnnotationWin &rSidebarWin, WinBits nStyle, SwView &rView)
void LogicInvalidate(const tools::Rectangle *pRectangle) override
sw::annotation::SwAnnotationWin & m_rSidebarWin
Similar to the VCL scrollbar, but instrumented with Writer-specific details for LOK.
Definition: view.hxx:144