File indexing completed on 2024-12-22 04:16:10

0001 /*
0002  *  SPDX-FileCopyrightText: 2008-2010 Lukáš Tvrdý <lukast.dev@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #include "KisHairyInkOptionModel.h"
0007 
0008 using namespace KisWidgetConnectionUtils;
0009 
0010 KisHairyInkOptionModel::KisHairyInkOptionModel(lager::cursor<KisHairyInkOptionData> _optionData)
0011     : optionData(_optionData)
0012     , LAGER_QT(inkDepletionEnabled) {_optionData[&KisHairyInkOptionData::inkDepletionEnabled]}
0013     , LAGER_QT(inkAmount) {_optionData[&KisHairyInkOptionData::inkAmount]}
0014     , LAGER_QT(inkDepletionCurve) {_optionData[&KisHairyInkOptionData::inkDepletionCurve]}
0015     , LAGER_QT(useSaturation) {_optionData[&KisHairyInkOptionData::useSaturation]}
0016     , LAGER_QT(useOpacity) {_optionData[&KisHairyInkOptionData::useOpacity]}
0017     , LAGER_QT(useWeights) {_optionData[&KisHairyInkOptionData::useWeights]}
0018     , LAGER_QT(pressureWeight) {_optionData[&KisHairyInkOptionData::pressureWeight]}
0019     , LAGER_QT(bristleLengthWeight) {_optionData[&KisHairyInkOptionData::bristleLengthWeight]}
0020     , LAGER_QT(bristleInkAmountWeight) {_optionData[&KisHairyInkOptionData::bristleInkAmountWeight]}
0021     , LAGER_QT(inkDepletionWeight) {_optionData[&KisHairyInkOptionData::inkDepletionWeight]}
0022     , LAGER_QT(useSoakInk) {_optionData[&KisHairyInkOptionData::useSoakInk]}
0023 {
0024 }