Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / sw / source / uibase / inc / DashedLine.hxx
blobf4b808ec29ad1ed7e57816ca964f9a494a8ab786
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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
12 #include <vcl/ctrl.hxx>
13 #include <viewopt.hxx>
15 /** Class for displaying a dashed line in the Writer GUI.
17 class SwDashedLine : public Control
19 const Color& (SwViewOption::*m_pColorFn)() const;
21 public:
22 SwDashedLine(vcl::Window* pParent, const Color& (SwViewOption::*pColorFn)() const);
23 virtual ~SwDashedLine() override;
25 virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect) override;
28 #endif
30 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */