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++
750 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2022 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#include "MyPaintBasicOptionModel.h"


MyPaintBasicOptionModel::MyPaintBasicOptionModel(lager::cursor<MyPaintBasicOptionData> _optionData,
                                                 lager::cursor<qreal> radiusCursor,
                                                 lager::cursor<qreal> hardnessCursor,
                                                 lager::cursor<qreal> opacityCursor)
    : optionData(_optionData)
    , LAGER_QT(eraserMode) {optionData[&MyPaintBasicOptionData::eraserMode]}
    , LAGER_QT(radius) {radiusCursor}
    , LAGER_QT(hardness) {hardnessCursor}
    , LAGER_QT(opacity) {opacityCursor}
{
}