Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSmudgeOverlayModeOptionData.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KISSMUDGEOVERLAYMODEOPTIONDATA_H
7#define KISSMUDGEOVERLAYMODEOPTIONDATA_H
8
9#include <QtGlobal>
10#include <boost/operators.hpp>
11
14
15struct KisSmudgeOverlayModeOptionData : boost::equality_comparable<KisSmudgeOverlayModeOptionData>
16{
18 return lhs.isChecked == rhs.isChecked;
19 }
20
21 bool isChecked {false};
22
23 bool read(const KisPropertiesConfiguration *setting);
24 void write(KisPropertiesConfiguration *setting) const;
25
27};
28
29#endif // KISSMUDGEOVERLAYMODEOPTIONDATA_H
friend bool operator==(const KisSmudgeOverlayModeOptionData &lhs, const KisSmudgeOverlayModeOptionData &rhs)
void write(KisPropertiesConfiguration *setting) const
KisPaintopLodLimitations lodLimitations() const
bool read(const KisPropertiesConfiguration *setting)