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 
17 namespace sw
18 {
19 namespace annotation
20 {
21 class SwAnnotationWin;
22 }
23 }
24 
25 namespace sw
26 {
27 namespace sidebarwindows
28 {
29 
32 {
35 
36 protected:
38  void LogicInvalidate(const tools::Rectangle* pRectangle) override;
39  void MouseMove(const MouseEvent& rMouseEvent) override;
40  void MouseButtonUp(const MouseEvent& rMouseEvent) override;
41 public:
42  SidebarScrollBar(sw::annotation::SwAnnotationWin& rSidebarWin, WinBits nStyle, SwView& rView);
43  ~SidebarScrollBar() override;
44 };
45 
46 }
47 }
48 
49 #endif
50 
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Dialog to specify the properties of date form field.
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:146