1 /*
2  *  This file is part of RawTherapee.
3  *
4  *  Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
5  *
6  *  RawTherapee is free software: you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation, either version 3 of the License, or
9  *  (at your option) any later version.
10  *
11  *  RawTherapee is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with RawTherapee.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 #include "paramsedited.h"
20 // #include <cstring>
21 // #include "options.h"
22 // #include "addsetids.h"
23 
24 
ParamsEdited(bool value)25 ParamsEdited::ParamsEdited(bool value)
26 {
27     set(value);
28 }
29 
30 
set(bool v)31 void ParamsEdited::set(bool v)
32 {
33     general = v;
34     exposure = v;
35     saturation = v;
36     toneCurve = v;
37     labCurve = v;
38     localContrast = v;
39     rgbCurves = v;
40     sharpening = v;
41     prsharpening = v;
42     wb = v;
43     defringe = v;
44     denoise = v;
45     textureBoost = v;
46     fattal = v;
47     logenc = v;
48     impulseDenoise = v;
49     toneEqualizer = v;
50     crop = v;
51     coarse = v;
52     commonTrans = v;
53     rotate = v;
54     distortion = v;
55     lensProf = v;
56     perspective = v;
57     gradient = v;
58     pcvignette = v;
59     cacorrection = v;
60     vignetting = v;
61     chmixer = v;
62     blackwhite = v;
63     hsl = v;
64     resize = v;
65     icm = v;
66     demosaic = v;
67     rawBlack = v;
68     rawWhite = v;
69     rawPreprocessing = v;
70     hotDeadPixelFilter = v;
71     darkframe = v;
72     flatfield = v;
73     rawCA = v;
74     filmSimulation = v;
75     softlight = v;
76     dehaze = v;
77     grain = v;
78     smoothing = v;
79     colorcorrection = v;
80     filmNegative = v;
81     metadata = v;
82     exif = v;
83     iptc = v;
84     spot = v;
85 }
86