|
|
|
@@ -292,21 +292,6 @@ void LocallabTone::updateAdviceTooltips(const bool showTooltips)
|
|
|
|
|
mask2tmCurveEditorG->set_tooltip_text(M("TP_LOCALLAB_CONTRASTCURVMASK_TOOLTIP"));
|
|
|
|
|
} else {
|
|
|
|
|
exp->set_tooltip_text("");
|
|
|
|
|
estop->set_tooltip_text("");
|
|
|
|
|
rewei->set_tooltip_text("");
|
|
|
|
|
scaltm->set_tooltip_text(M(""));
|
|
|
|
|
gamma->set_tooltip_text(M(""));
|
|
|
|
|
equiltm->set_tooltip_text(M(""));
|
|
|
|
|
sensitm->set_tooltip_text("");
|
|
|
|
|
expmasktm->set_tooltip_text("");
|
|
|
|
|
CCmasktmshape->setTooltip("");
|
|
|
|
|
LLmasktmshape->setTooltip("");
|
|
|
|
|
HHmasktmshape->setTooltip("");
|
|
|
|
|
lapmasktm->set_tooltip_text("");
|
|
|
|
|
radmasktm->set_tooltip_text("");
|
|
|
|
|
Lmasktmshape->setTooltip("");
|
|
|
|
|
blendmasktm->set_tooltip_text(M(""));
|
|
|
|
|
mask2tmCurveEditorG->set_tooltip_text(M(""));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -1047,33 +1032,8 @@ void LocallabRetinex::updateAdviceTooltips(const bool showTooltips)
|
|
|
|
|
blendmaskreti->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
|
|
|
|
|
mask2retiCurveEditorG->set_tooltip_text(M("TP_LOCALLAB_CONTRASTCURVMASK_TOOLTIP"));
|
|
|
|
|
} else {
|
|
|
|
|
sensih->set_tooltip_text("");
|
|
|
|
|
fftwreti->set_tooltip_text("");
|
|
|
|
|
neigh->set_tooltip_text("");
|
|
|
|
|
vart->set_tooltip_text("");
|
|
|
|
|
loglin->set_tooltip_text(M(""));
|
|
|
|
|
scalereti->set_tooltip_text(M(""));
|
|
|
|
|
limd->set_tooltip_text(M(""));
|
|
|
|
|
offs->set_tooltip_text(M(""));
|
|
|
|
|
lightnessreti->set_tooltip_text(M(""));
|
|
|
|
|
darkness->set_tooltip_text(M(""));
|
|
|
|
|
equilret->set_tooltip_text(M(""));
|
|
|
|
|
softradiusret->set_tooltip_text("");
|
|
|
|
|
cTtransshape->setTooltip("");
|
|
|
|
|
mMLabels->set_tooltip_text("");
|
|
|
|
|
transLabels->set_tooltip_text("");
|
|
|
|
|
cTgainshape->setTooltip("");
|
|
|
|
|
expmaskreti->set_tooltip_text("");
|
|
|
|
|
enaretiMasktmap->set_tooltip_text("");
|
|
|
|
|
CCmaskretishape->setTooltip("");
|
|
|
|
|
LLmaskretishape->setTooltip("");
|
|
|
|
|
HHmaskretishape->setTooltip("");
|
|
|
|
|
radmaskreti->set_tooltip_text("");
|
|
|
|
|
lapmaskreti->set_tooltip_text("");
|
|
|
|
|
Lmaskretishape->setTooltip("");
|
|
|
|
|
blendmaskreti->set_tooltip_text(M(""));
|
|
|
|
|
mask2retiCurveEditorG->set_tooltip_text(M(""));
|
|
|
|
|
}
|
|
|
|
|
exp->set_tooltip_text("");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void LocallabRetinex::setDefaultExpanderVisibility()
|
|
|
|
@@ -2608,30 +2568,7 @@ void LocallabContrast::updateAdviceTooltips(const bool showTooltips)
|
|
|
|
|
mask2lcCurveEditorG->set_tooltip_text(M("TP_LOCALLAB_CONTRASTCURVMASK_TOOLTIP"));
|
|
|
|
|
} else {
|
|
|
|
|
exp->set_tooltip_text("");
|
|
|
|
|
contFrame->set_tooltip_text(M(""));
|
|
|
|
|
levelwav->set_tooltip_text("");
|
|
|
|
|
LocalcurveEditorwav->set_tooltip_markup(M(""));
|
|
|
|
|
wavgradl->set_tooltip_text("");
|
|
|
|
|
clariFrame->set_tooltip_text("");
|
|
|
|
|
clarisoft->set_tooltip_text("");
|
|
|
|
|
wavedg->set_tooltip_text("");
|
|
|
|
|
wavblur->set_tooltip_text(M(""));
|
|
|
|
|
wavcont->set_tooltip_text(M(""));
|
|
|
|
|
wavcompre->set_tooltip_text(M(""));
|
|
|
|
|
wavcomp->set_tooltip_text(M(""));
|
|
|
|
|
chromablu->set_tooltip_text("");
|
|
|
|
|
chromalev->set_tooltip_text("");
|
|
|
|
|
fftwlc->set_tooltip_text("");
|
|
|
|
|
expmasklc->set_tooltip_text("");
|
|
|
|
|
CCmasklcshape->setTooltip("");
|
|
|
|
|
LLmasklcshape->setTooltip("");
|
|
|
|
|
HHmasklcshape->setTooltip("");
|
|
|
|
|
Lmasklcshape->setTooltip("");
|
|
|
|
|
expcontrastpyr->set_tooltip_text(M(""));
|
|
|
|
|
expcontrastpyr2->set_tooltip_text(M(""));
|
|
|
|
|
blendmasklc->set_tooltip_text(M(""));
|
|
|
|
|
mask2lcCurveEditorG->set_tooltip_text(M(""));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void LocallabContrast::setDefaultExpanderVisibility()
|
|
|
|
@@ -3744,6 +3681,7 @@ LocallabCBDL::LocallabCBDL():
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
()),
|
|
|
|
|
levFrame(Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_LEVFRA")))),
|
|
|
|
|
chromacbdl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_CHROMACBDL"), 0., 1.5, 0.01, 0.))),
|
|
|
|
|
threshold(Gtk::manage(new Adjuster(M("TP_DIRPYREQUALIZER_THRESHOLD"), 0, 1., 0.01, 0.2))),
|
|
|
|
|
blurcbdl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_BLURCBDL"), 0., 100., 0.1, 0.))),
|
|
|
|
@@ -3849,20 +3787,23 @@ LocallabCBDL::LocallabCBDL():
|
|
|
|
|
lumacontrastPlusPressedConn = lumacontrastPlusButton->signal_pressed().connect(sigc::mem_fun(*this, &LocallabCBDL::lumacontrastPlusPressed));
|
|
|
|
|
|
|
|
|
|
// Add CBDL specific widgets to GUI
|
|
|
|
|
ToolParamBlock* const levBox = Gtk::manage(new ToolParamBlock());
|
|
|
|
|
Gtk::HBox* buttonBox = Gtk::manage(new Gtk::HBox(true, 10));
|
|
|
|
|
buttonBox->pack_start(*lumacontrastMinusButton);
|
|
|
|
|
buttonBox->pack_start(*lumaneutralButton);
|
|
|
|
|
buttonBox->pack_start(*lumacontrastPlusButton);
|
|
|
|
|
pack_start(*buttonBox);
|
|
|
|
|
levBox->pack_start(*buttonBox);
|
|
|
|
|
|
|
|
|
|
for (const auto adj : multiplier) {
|
|
|
|
|
pack_start(*adj);
|
|
|
|
|
levBox->pack_start(*adj);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Gtk::HSeparator* const separator = Gtk::manage(new Gtk::HSeparator());
|
|
|
|
|
pack_start(*separator, Gtk::PACK_SHRINK, 2);
|
|
|
|
|
pack_start(*chromacbdl);
|
|
|
|
|
pack_start(*threshold);
|
|
|
|
|
levBox->pack_start(*separator, Gtk::PACK_SHRINK, 2);
|
|
|
|
|
levBox->pack_start(*chromacbdl);
|
|
|
|
|
levBox->pack_start(*threshold);
|
|
|
|
|
levFrame->add(*levBox);
|
|
|
|
|
pack_start(*levFrame);
|
|
|
|
|
// pack_start(*blurcbdl);
|
|
|
|
|
Gtk::Frame* const residFrame = Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_RESID")));
|
|
|
|
|
residFrame->set_label_align(0.025, 0.5);
|
|
|
|
@@ -3915,7 +3856,7 @@ void LocallabCBDL::getMaskView(int &colorMask, int &colorMaskinv, int &expMask,
|
|
|
|
|
void LocallabCBDL::updateAdviceTooltips(const bool showTooltips)
|
|
|
|
|
{
|
|
|
|
|
if (showTooltips) {
|
|
|
|
|
exp->set_tooltip_text(M("TP_LOCALLAB_EXPCBDL_TOOLTIP"));
|
|
|
|
|
levFrame->set_tooltip_text(M("TP_LOCALLAB_EXPCBDL_TOOLTIP"));
|
|
|
|
|
for (const auto adj : multiplier) {
|
|
|
|
|
adj->set_tooltip_text(M("TP_LOCALLAB_CBDL_ADJ_TOOLTIP"));
|
|
|
|
|
}
|
|
|
|
@@ -3934,22 +3875,6 @@ void LocallabCBDL::updateAdviceTooltips(const bool showTooltips)
|
|
|
|
|
mask2cbCurveEditorG->set_tooltip_text(M("TP_LOCALLAB_CONTRASTCURVMASK_TOOLTIP"));
|
|
|
|
|
} else {
|
|
|
|
|
exp->set_tooltip_text("");
|
|
|
|
|
for (const auto adj : multiplier) {
|
|
|
|
|
adj->set_tooltip_text(M(""));
|
|
|
|
|
}
|
|
|
|
|
threshold->set_tooltip_text(M(""));
|
|
|
|
|
chromacbdl->set_tooltip_text("");
|
|
|
|
|
clarityml->set_tooltip_text(M(""));
|
|
|
|
|
sensicb->set_tooltip_text("");
|
|
|
|
|
expmaskcb->set_tooltip_text("");
|
|
|
|
|
CCmaskcbshape->setTooltip("");
|
|
|
|
|
LLmaskcbshape->setTooltip("");
|
|
|
|
|
HHmaskcbshape->setTooltip("");
|
|
|
|
|
radmaskcb->set_tooltip_text("");
|
|
|
|
|
lapmaskcb->set_tooltip_text("");
|
|
|
|
|
Lmaskcbshape->setTooltip("");
|
|
|
|
|
blendmaskcb->set_tooltip_text(M(""));
|
|
|
|
|
mask2cbCurveEditorG->set_tooltip_text(M(""));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -4452,17 +4377,6 @@ void LocallabLog::updateAdviceTooltips(const bool showTooltips)
|
|
|
|
|
anglog->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP"));
|
|
|
|
|
} else {
|
|
|
|
|
exp->set_tooltip_text(M(""));
|
|
|
|
|
logPFrame->set_tooltip_text("");
|
|
|
|
|
autocompute->set_tooltip_text(M(""));
|
|
|
|
|
blackEv->set_tooltip_text(M(""));
|
|
|
|
|
whiteEv->set_tooltip_text(M(""));
|
|
|
|
|
Autogray->set_tooltip_text(M(""));
|
|
|
|
|
sourceGray->set_tooltip_text(M(""));
|
|
|
|
|
targetGray->set_tooltip_text(M(""));
|
|
|
|
|
detail->set_tooltip_text(M(""));
|
|
|
|
|
baselog->set_tooltip_text(M(""));
|
|
|
|
|
strlog->set_tooltip_text(M(""));
|
|
|
|
|
anglog->set_tooltip_text(M(""));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|