Krita Source Code Documentation
Loading...
Searching...
No Matches
KisDecoratedNodeInterface.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISDECORATEDNODEINTERFACE_H
8#define KISDECORATEDNODEINTERFACE_H
9
10#include "kritaimage_export.h"
11
17class KRITAIMAGE_EXPORT KisDecoratedNodeInterface
18{
19public:
21
27 virtual bool decorationsVisible() const = 0;
28
33 virtual void setDecorationsVisible(bool value, bool update) = 0;
34
38 void setDecorationsVisible(bool value);
39};
40
41#endif // KISDECORATEDNODEINTERFACE_H
float value(const T *src, size_t ch)
virtual bool decorationsVisible() const =0
virtual void setDecorationsVisible(bool value, bool update)=0