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

0001 /*
0002  *  SPDX-FileCopyrightText: 2010 Lukáš Tvrdý <lukast.dev@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #include "KisParticleOpOptionModel.h"
0007 
0008 using namespace KisWidgetConnectionUtils;
0009 
0010 KisParticleOpOptionModel::KisParticleOpOptionModel(lager::cursor<KisParticleOpOptionData> _optionData)
0011     : optionData(_optionData)
0012     , LAGER_QT(particleCount) {_optionData[&KisParticleOpOptionData::particleCount]}
0013     , LAGER_QT(particleIterations) {_optionData[&KisParticleOpOptionData::particleIterations]}
0014     , LAGER_QT(particleGravity) {_optionData[&KisParticleOpOptionData::particleGravity]}
0015     , LAGER_QT(particleWeight) {_optionData[&KisParticleOpOptionData::particleWeight]}
0016     , LAGER_QT(particleScaleX) {_optionData[&KisParticleOpOptionData::particleScaleX]}
0017     , LAGER_QT(particleScaleY) {_optionData[&KisParticleOpOptionData::particleScaleY]}
0018 {
0019 }