Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
1.3 KB
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2022 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef MYPAINTCURVEOPTIONDATA_H
#define MYPAINTCURVEOPTIONDATA_H

#include <KisCurveOptionDataCommon.h>
#include "MyPaintSensorPack.h"


struct MyPaintCurveOptionData : KisCurveOptionDataCommon
{
    MyPaintCurveOptionData(const QString &prefix,
                              const KoID &id,
                              bool isCheckable = true,
                              bool isChecked = false,
                              qreal minValue = 0.0,
                              qreal maxValue = 1.0);
        
    MyPaintCurveOptionData(const KoID &id,
                              bool isCheckable = true,
                              bool isChecked = false,
                              qreal minValue = 0.0,
                              qreal maxValue = 1.0);

protected:
    MyPaintCurveOptionData(const QString &prefix,
                           const KoID &id,
                           bool isCheckable,
                           bool isChecked,
                           qreal minValue,
                           qreal maxValue,
                           MyPaintSensorPack *sensorInterface);
public:

    MyPaintSensorData& sensorStruct();
    const MyPaintSensorData& sensorStruct() const;
};

#endif // MYPAINTCURVEOPTIONDATA_H