Committing patch from issue 1240: "Partial profile handling"

This commit is contained in:
natureh
2012-02-26 03:23:08 +01:00
parent c21fa69aea
commit dd93fff44c
60 changed files with 2243 additions and 2214 deletions

View File

@@ -21,8 +21,16 @@
#include <glibmm.h>
#include <vector>
#include "../rtengine/rtengine.h"
#include "../rtengine/procparams.h"
#include "../rtengine/rtengine.h"
class GeneralParamsEdited {
public:
bool rank;
bool colorlabel;
bool intrash;
};
class ToneCurveParamsEdited {
@@ -111,14 +119,14 @@ class VibranceParamsEdited {
bool pastsattog;
};
class ColorBoostParamsEdited {
/*class ColorBoostParamsEdited {
public:
bool amount;
bool avoidclip;
bool enable_saturationlimiter;
bool saturationlimit;
};
};*/
class WBParamsEdited {
@@ -128,27 +136,27 @@ class WBParamsEdited {
bool green;
};
class ColorShiftParamsEdited {
/*class ColorShiftParamsEdited {
public:
bool a;
bool b;
};
};*/
class LumaDenoiseParamsEdited {
/*class LumaDenoiseParamsEdited {
public:
bool enabled;
bool radius;
bool edgetolerance;
};
};*/
class ColorDenoiseParamsEdited {
/*class ColorDenoiseParamsEdited {
public:
bool enabled;
bool amount;
};
};*/
class DefringeParamsEdited {
@@ -326,47 +334,35 @@ class RAWParamsEdited {
bool dmethod;
bool dcbIterations;
bool dcbEnhance;
bool allEnhance;
bool allEnhance;
bool caCorrection;
bool caRed;
bool caBlue;
bool caRed;
bool caBlue;
bool greenEq;
bool hotDeadPixel;
bool hotDeadPixelFilter;
bool hotDeadPixelThresh;
bool linenoise;
bool darkFrame;
bool dfAuto;
bool ff_file;
bool ff_AutoSelect;
bool ff_BlurRadius;
bool ff_BlurType;
bool exPos;
bool exPreser;
bool exBlackzero;
bool exBlackone;
bool exBlacktwo;
bool exBlackthree;
bool exTwoGreen;
bool ff_file;
bool ff_AutoSelect;
bool ff_BlurRadius;
bool ff_BlurType;
bool exPos;
bool exPreser;
bool exBlackzero;
bool exBlackone;
bool exBlacktwo;
bool exBlackthree;
bool exTwoGreen;
bool isUnchanged() const;
};
class ExifPairEdited {
public:
Glib::ustring field;
bool value;
};
class IPTCPairEdited {
public:
Glib::ustring field;
bool values;
};
class ParamsEdited {
public:
GeneralParamsEdited general;
ToneCurveParamsEdited toneCurve;
LCurveParamsEdited labCurve;
RGBCurvesParamsEdited rgbCurves;
@@ -374,22 +370,22 @@ class ParamsEdited {
SharpenEdgeParamsEdited sharpenEdge;
SharpenMicroParamsEdited sharpenMicro;
VibranceParamsEdited vibrance;
ColorBoostParamsEdited colorBoost;
//ColorBoostParamsEdited colorBoost;
WBParamsEdited wb;
ColorShiftParamsEdited colorShift;
LumaDenoiseParamsEdited lumaDenoise;
ColorDenoiseParamsEdited colorDenoise;
//ColorShiftParamsEdited colorShift;
//LumaDenoiseParamsEdited lumaDenoise;
//ColorDenoiseParamsEdited colorDenoise;
DefringeParamsEdited defringe;
DirPyrDenoiseParamsEdited dirpyrDenoise;
EPDParamsEdited edgePreservingDecompositionUI;
EPDParamsEdited edgePreservingDecompositionUI;
ImpulseDenoiseParamsEdited impulseDenoise;
SHParamsEdited sh;
CropParamsEdited crop;
CoarseTransformParamsEdited coarse;
CommonTransformParamsEdited commonTrans;
CommonTransformParamsEdited commonTrans;
RotateParamsEdited rotate;
DistortionParamsEdited distortion;
PerspectiveParamsEdited perspective;
PerspectiveParamsEdited perspective;
CACorrParamsEdited cacorrection;
VignettingParamsEdited vignetting;
ChannelMixerParamsEdited chmixer;
@@ -399,8 +395,8 @@ class ParamsEdited {
RAWParamsEdited raw;
DirPyrEqualizerParamsEdited dirpyrequalizer;
HSVEqualizerParamsEdited hsvequalizer;
std::vector<ExifPairEdited> exif;
std::vector<IPTCPairEdited> iptc;
bool exif;
bool iptc;
ParamsEdited ();