Change GUI for residual chroma
This commit is contained in:
@@ -2109,6 +2109,7 @@ TP_WAVELET_CH3;Link contrast levels
|
|||||||
TP_WAVELET_CHCU;Curve
|
TP_WAVELET_CHCU;Curve
|
||||||
TP_WAVELET_CHR;Chroma-contrast link strength
|
TP_WAVELET_CHR;Chroma-contrast link strength
|
||||||
TP_WAVELET_CHRO;Saturated/pastel threshold
|
TP_WAVELET_CHRO;Saturated/pastel threshold
|
||||||
|
TP_WAVELET_CHROMAFRAME;Chroma
|
||||||
TP_WAVELET_CHRO_TOOLTIP;Sets the wavelet level which will be the threshold between saturated and pastel colors.\n1-x: saturated\nx-9: pastel\n\nIf the value exceeds the amount of wavelet levels you are using then it will be ignored.
|
TP_WAVELET_CHRO_TOOLTIP;Sets the wavelet level which will be the threshold between saturated and pastel colors.\n1-x: saturated\nx-9: pastel\n\nIf the value exceeds the amount of wavelet levels you are using then it will be ignored.
|
||||||
TP_WAVELET_CHR_TOOLTIP;Adjusts chroma as a function of "contrast levels" and "chroma-contrast link strength"
|
TP_WAVELET_CHR_TOOLTIP;Adjusts chroma as a function of "contrast levels" and "chroma-contrast link strength"
|
||||||
TP_WAVELET_CHSL;Sliders
|
TP_WAVELET_CHSL;Sliders
|
||||||
@@ -2216,7 +2217,7 @@ TP_WAVELET_RADIUS;Radius Shadows - Highlight
|
|||||||
TP_WAVELET_RE1;Reinforced
|
TP_WAVELET_RE1;Reinforced
|
||||||
TP_WAVELET_RE2;Unchanged
|
TP_WAVELET_RE2;Unchanged
|
||||||
TP_WAVELET_RE3;Reduced
|
TP_WAVELET_RE3;Reduced
|
||||||
TP_WAVELET_RESCHRO;Chroma
|
TP_WAVELET_RESCHRO;Intensity
|
||||||
TP_WAVELET_RESCON;Shadows
|
TP_WAVELET_RESCON;Shadows
|
||||||
TP_WAVELET_RESCONH;Highlights
|
TP_WAVELET_RESCONH;Highlights
|
||||||
TP_WAVELET_RESID;Residual Image
|
TP_WAVELET_RESID;Residual Image
|
||||||
|
@@ -140,6 +140,7 @@ Wavelet::Wavelet() :
|
|||||||
chanMixerHLFrame(Gtk::manage(new Gtk::Frame(M("TP_COLORTONING_HIGHLIGHT")))),
|
chanMixerHLFrame(Gtk::manage(new Gtk::Frame(M("TP_COLORTONING_HIGHLIGHT")))),
|
||||||
chanMixerMidFrame(Gtk::manage(new Gtk::Frame(M("TP_COLORTONING_MIDTONES")))),
|
chanMixerMidFrame(Gtk::manage(new Gtk::Frame(M("TP_COLORTONING_MIDTONES")))),
|
||||||
chanMixerShadowsFrame(Gtk::manage(new Gtk::Frame(M("TP_COLORTONING_SHADOWS")))),
|
chanMixerShadowsFrame(Gtk::manage(new Gtk::Frame(M("TP_COLORTONING_SHADOWS")))),
|
||||||
|
chromaFrame(Gtk::manage(new Gtk::Frame(M("TP_WAVELET_CHROMAFRAME")))),
|
||||||
wavLabels(Gtk::manage(new Gtk::Label("---", Gtk::ALIGN_CENTER))),
|
wavLabels(Gtk::manage(new Gtk::Label("---", Gtk::ALIGN_CENTER))),
|
||||||
labmC(Gtk::manage(new Gtk::Label(M("TP_WAVELET_CTYPE") + ":"))),
|
labmC(Gtk::manage(new Gtk::Label(M("TP_WAVELET_CTYPE") + ":"))),
|
||||||
labmNP(Gtk::manage(new Gtk::Label(M("TP_WAVELET_NPTYPE") + ":"))),
|
labmNP(Gtk::manage(new Gtk::Label(M("TP_WAVELET_NPTYPE") + ":"))),
|
||||||
@@ -687,8 +688,14 @@ Wavelet::Wavelet() :
|
|||||||
resBox->pack_start(*contrast); //keep the possibility to reinstall
|
resBox->pack_start(*contrast); //keep the possibility to reinstall
|
||||||
|
|
||||||
reschro->setAdjusterListener(this);
|
reschro->setAdjusterListener(this);
|
||||||
resBox->pack_start(*reschro);
|
// resBox->pack_start(*reschro);
|
||||||
|
|
||||||
|
chromaFrame->set_label_align(0.025, 0.5);
|
||||||
|
ToolParamBlock* const chromaBox = Gtk::manage(new ToolParamBlock());
|
||||||
|
chromaBox->pack_start(*reschro);
|
||||||
|
chromaBox->pack_start(*hueskin2);
|
||||||
|
chromaBox->pack_start(*sky);
|
||||||
|
chromaFrame->add(*chromaBox);
|
||||||
|
|
||||||
Gtk::Label* const labmTM = Gtk::manage(new Gtk::Label(M("TP_WAVELET_TMTYPE") + ":"));
|
Gtk::Label* const labmTM = Gtk::manage(new Gtk::Label(M("TP_WAVELET_TMTYPE") + ":"));
|
||||||
Gtk::HBox* const ctboxTM = Gtk::manage(new Gtk::HBox());
|
Gtk::HBox* const ctboxTM = Gtk::manage(new Gtk::HBox());
|
||||||
@@ -727,18 +734,19 @@ Wavelet::Wavelet() :
|
|||||||
|
|
||||||
hueskin2->set_tooltip_markup(M("TP_WAVELET_HUESKY_TOOLTIP"));
|
hueskin2->set_tooltip_markup(M("TP_WAVELET_HUESKY_TOOLTIP"));
|
||||||
hueskin2->setBgGradient(milestones);
|
hueskin2->setBgGradient(milestones);
|
||||||
resBox->pack_start(*hueskin2);
|
// resBox->pack_start(*hueskin2);
|
||||||
hueskin2->setAdjusterListener(this);
|
hueskin2->setAdjusterListener(this);
|
||||||
|
|
||||||
sky->set_tooltip_text(M("TP_WAVELET_SKY_TOOLTIP"));
|
sky->set_tooltip_text(M("TP_WAVELET_SKY_TOOLTIP"));
|
||||||
sky->setAdjusterListener(this);
|
sky->setAdjusterListener(this);
|
||||||
|
|
||||||
resBox->pack_start(*sky);
|
// resBox->pack_start(*sky);
|
||||||
|
|
||||||
// whole hue range
|
// whole hue range
|
||||||
const std::vector<GradientMilestone> milestones3 = makeWholeHueRange();
|
const std::vector<GradientMilestone> milestones3 = makeWholeHueRange();
|
||||||
|
|
||||||
curveEditorRES->setCurveListener(this);
|
curveEditorRES->setCurveListener(this);
|
||||||
|
resBox->pack_start(*chromaFrame);
|
||||||
|
|
||||||
hhshape = static_cast<FlatCurveEditor*>(curveEditorRES->addCurve(CT_Flat, M("TP_WAVELET_CURVEEDITOR_HH")));
|
hhshape = static_cast<FlatCurveEditor*>(curveEditorRES->addCurve(CT_Flat, M("TP_WAVELET_CURVEEDITOR_HH")));
|
||||||
hhshape->setTooltip(M("TP_WAVELET_CURVEEDITOR_HH_TOOLTIP"));
|
hhshape->setTooltip(M("TP_WAVELET_CURVEEDITOR_HH_TOOLTIP"));
|
||||||
|
@@ -253,6 +253,7 @@ private:
|
|||||||
Gtk::Frame* const chanMixerHLFrame;
|
Gtk::Frame* const chanMixerHLFrame;
|
||||||
Gtk::Frame* const chanMixerMidFrame;
|
Gtk::Frame* const chanMixerMidFrame;
|
||||||
Gtk::Frame* const chanMixerShadowsFrame;
|
Gtk::Frame* const chanMixerShadowsFrame;
|
||||||
|
Gtk::Frame* const chromaFrame;
|
||||||
|
|
||||||
Gtk::Label* const wavLabels;
|
Gtk::Label* const wavLabels;
|
||||||
Gtk::Label* const labmC;
|
Gtk::Label* const labmC;
|
||||||
|
Reference in New Issue
Block a user