LibreOffice Module sw (master)  1
DashedLine.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 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_DASHEDLINE_HXX
10 #define INCLUDED_SW_SOURCE_UIBASE_INC_DASHEDLINE_HXX
11 
12 #include <vcl/fixed.hxx>
13 
16 class SwDashedLine : public FixedLine
17 {
18  Color& (* const m_pColorFn)();
19 
20 public:
21  SwDashedLine( vcl::Window* pParent, Color& ( *pColorFn )() );
22  virtual ~SwDashedLine( ) override;
23 
24  virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
25 };
26 
27 #endif
28 
29 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ~SwDashedLine() override
Definition: DashedLine.cxx:28
Class for displaying a dashed line in the Writer GUI.
Definition: DashedLine.hxx:16
Color &(*const m_pColorFn)()
Definition: DashedLine.hxx:18
SwDashedLine(vcl::Window *pParent, Color &(*pColorFn)())
Definition: DashedLine.cxx:22
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
Definition: DashedLine.cxx:32