LibreOffice Module svx (master)
1
include
svx
dialog
ThemeColorValueSet.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
#pragma once
11
12
#include <
svx/svxdllapi.h
>
13
#include <
sal/config.h
>
14
#include <
svtools/valueset.hxx
>
15
#include <
docmodel/theme/ColorSet.hxx
>
16
17
namespace
svx
18
{
19
class
SVX_DLLPUBLIC
ThemeColorValueSet
final :
public
ValueSet
20
{
21
std::vector<std::reference_wrapper<const model::ColorSet>>
maColorSets
;
22
23
public
:
24
ThemeColorValueSet
()
25
:
ValueSet
(nullptr)
26
{
27
}
28
29
void
SetDrawingArea(
weld::DrawingArea
* pDrawingArea)
override
;
30
void
UserDraw
(
const
UserDrawEvent
& rUserDrawEvent)
override
;
31
void
StyleUpdated()
override
;
32
33
void
insert(
model::ColorSet
const
& rColorSet);
34
};
35
36
}
// end svx namespace
37
38
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ColorSet.hxx
UserDrawEvent
ValueSet
model::ColorSet
svx::ThemeColorValueSet
Definition:
ThemeColorValueSet.hxx:20
svx::ThemeColorValueSet::ThemeColorValueSet
ThemeColorValueSet()
Definition:
ThemeColorValueSet.hxx:24
svx::ThemeColorValueSet::maColorSets
std::vector< std::reference_wrapper< const model::ColorSet > > maColorSets
Definition:
ThemeColorValueSet.hxx:21
weld::DrawingArea
config.h
svx
StatusBarItemBits::UserDraw
@ UserDraw
svxdllapi.h
SVX_DLLPUBLIC
#define SVX_DLLPUBLIC
Definition:
svxdllapi.h:28
valueset.hxx
Generated on Sun Jul 30 2023 04:27:32 for LibreOffice Module svx (master) by
1.9.3