Constify Locallab c'tor (#5512)

This commit is contained in:
Flössie
2019-11-05 14:46:10 +01:00
parent 34851ead73
commit 24287fbe70
2 changed files with 193 additions and 188 deletions

View File

@@ -77,73 +77,73 @@ private:
CurveEditorGroup* const maskCurveEditorG;
CurveEditorGroup* const mask2CurveEditorG;
CurveEditorGroup* const mask2CurveEditorGwav;
DiagonalCurveEditor* Lmaskshape;
DiagonalCurveEditor* llshape;
DiagonalCurveEditor* ccshape;
DiagonalCurveEditor* rgbshape;
FlatCurveEditor* LHshape;
FlatCurveEditor* HHshape;
FlatCurveEditor* CCmaskshape;
FlatCurveEditor* LLmaskshape;
FlatCurveEditor* HHmaskshape;
FlatCurveEditor* LLmaskcolshapewav;
DiagonalCurveEditor* const Lmaskshape;
DiagonalCurveEditor* const llshape;
DiagonalCurveEditor* const ccshape;
DiagonalCurveEditor* const rgbshape;
FlatCurveEditor* const LHshape;
FlatCurveEditor* const HHshape;
FlatCurveEditor* const CCmaskshape;
FlatCurveEditor* const LLmaskshape;
FlatCurveEditor* const HHmaskshape;
FlatCurveEditor* const LLmaskcolshapewav;
// Exposure
CurveEditorGroup* const curveEditorG;
CurveEditorGroup* const maskexpCurveEditorG;
CurveEditorGroup* const mask2expCurveEditorG;
DiagonalCurveEditor* Lmaskexpshape;
DiagonalCurveEditor* shapeexpos;
FlatCurveEditor* CCmaskexpshape;
FlatCurveEditor* LLmaskexpshape;
FlatCurveEditor* HHmaskexpshape;
DiagonalCurveEditor* const Lmaskexpshape;
DiagonalCurveEditor* const shapeexpos;
FlatCurveEditor* const CCmaskexpshape;
FlatCurveEditor* const LLmaskexpshape;
FlatCurveEditor* const HHmaskexpshape;
//Shadows Highlight
CurveEditorGroup* const maskSHCurveEditorG;
CurveEditorGroup* const mask2SHCurveEditorG;
DiagonalCurveEditor* LmaskSHshape;
FlatCurveEditor* CCmaskSHshape;
FlatCurveEditor* LLmaskSHshape;
FlatCurveEditor* HHmaskSHshape;
DiagonalCurveEditor* const LmaskSHshape;
FlatCurveEditor* const CCmaskSHshape;
FlatCurveEditor* const LLmaskSHshape;
FlatCurveEditor* const HHmaskSHshape;
// Vibrance
CurveEditorGroup* const curveEditorGG;
DiagonalCurveEditor* skinTonesCurve;
DiagonalCurveEditor* const skinTonesCurve;
//Blur and noise
CurveEditorGroup* const maskblCurveEditorG;
CurveEditorGroup* const mask2blCurveEditorG;
CurveEditorGroup* const mask2blCurveEditorGwav;
DiagonalCurveEditor* Lmaskblshape;
FlatCurveEditor* CCmaskblshape;
FlatCurveEditor* LLmaskblshape;
FlatCurveEditor* HHmaskblshape;
FlatCurveEditor* LLmaskblshapewav;
DiagonalCurveEditor* const Lmaskblshape;
FlatCurveEditor* const CCmaskblshape;
FlatCurveEditor* const LLmaskblshape;
FlatCurveEditor* const HHmaskblshape;
FlatCurveEditor* const LLmaskblshapewav;
// TM
CurveEditorGroup* const masktmCurveEditorG;
CurveEditorGroup* const mask2tmCurveEditorG;
DiagonalCurveEditor* Lmasktmshape;
FlatCurveEditor* CCmasktmshape;
FlatCurveEditor* LLmasktmshape;
FlatCurveEditor* HHmasktmshape;
DiagonalCurveEditor* const Lmasktmshape;
FlatCurveEditor* const CCmasktmshape;
FlatCurveEditor* const LLmasktmshape;
FlatCurveEditor* const HHmasktmshape;
// Retinex
CurveEditorGroup* const LocalcurveEditortransT;
CurveEditorGroup* const LocalcurveEditorgainT;
CurveEditorGroup* const maskretiCurveEditorG;
CurveEditorGroup* const mask2retiCurveEditorG;
DiagonalCurveEditor* Lmaskretishape;
FlatCurveEditor* cTtransshape;
FlatCurveEditor* cTgainshape;
FlatCurveEditor* CCmaskretishape;
FlatCurveEditor* LLmaskretishape;
FlatCurveEditor* HHmaskretishape;
DiagonalCurveEditor* const Lmaskretishape;
FlatCurveEditor* const cTtransshape;
FlatCurveEditor* const cTgainshape;
FlatCurveEditor* const CCmaskretishape;
FlatCurveEditor* const LLmaskretishape;
FlatCurveEditor* const HHmaskretishape;
//local contrast
CurveEditorGroup* const LocalcurveEditorwav;
FlatCurveEditor* wavshape;
FlatCurveEditor* const wavshape;
//Cbdl
CurveEditorGroup* const maskcbCurveEditorG;
CurveEditorGroup* const mask2cbCurveEditorG;
DiagonalCurveEditor* Lmaskcbshape;
FlatCurveEditor* CCmaskcbshape;
FlatCurveEditor* LLmaskcbshape;
FlatCurveEditor* HHmaskcbshape;
DiagonalCurveEditor* const Lmaskcbshape;
FlatCurveEditor* const CCmaskcbshape;
FlatCurveEditor* const LLmaskcbshape;
FlatCurveEditor* const HHmaskcbshape;
// Adjuster widgets
// Color & Light
@@ -461,28 +461,28 @@ private:
Gtk::Button* const lumaneutralButton;
Gtk::Button* const lumacontrastPlusButton;
sigc::connection lumacontrastMinusPressedConn, lumaneutralPressedConn, lumacontrastPlusPressedConn;
Gtk::Frame* gridFrame;
Gtk::Frame* mergecolFrame;
Gtk::Frame* merge1colFrame;
Gtk::Frame* pdeFrame;
Gtk::Frame* fatFrame;
Gtk::Frame* fatSHFrame;
Gtk::Frame* gamFrame;
Gtk::Frame* dehaFrame;
Gtk::Frame* retiFrame;
Gtk::Frame* retitoolFrame;
Gtk::Frame* residFrame;
Gtk::Frame* clariFrame;
Gtk::Frame* grainFrame;
ToolParamBlock * retiBox;
ToolParamBlock * maskretiBox;
LabGrid *labgrid;
Gtk::Label* mMLabels;
Gtk::Label* transLabels;
Gtk::Label* transLabels2;
Gtk::Frame* const gridFrame;
Gtk::Frame* const mergecolFrame;
Gtk::Frame* const merge1colFrame;
Gtk::Frame* const pdeFrame;
Gtk::Frame* const fatFrame;
Gtk::Frame* const fatSHFrame;
Gtk::Frame* const gamFrame;
Gtk::Frame* const dehaFrame;
Gtk::Frame* const retiFrame;
Gtk::Frame* const retitoolFrame;
Gtk::Frame* const residFrame;
Gtk::Frame* const clariFrame;
Gtk::Frame* const grainFrame;
ToolParamBlock* const retiBox;
ToolParamBlock* const maskretiBox;
LabGrid* const labgrid;
Gtk::Label* const mMLabels;
Gtk::Label* const transLabels;
Gtk::Label* const transLabels2;
// Others
Gtk::HBox* ctboxsoftmethod;
Gtk::HBox* ctboxexpmethod;
Gtk::HBox* const ctboxsoftmethod;
Gtk::HBox* const ctboxexpmethod;
double nextmin;
double nextmax;
double nextminiT;