Added tootip to original retinex

This commit is contained in:
Desmis
2020-05-24 10:07:42 +02:00
parent 3f18abf8c4
commit d384edef6b
2 changed files with 13 additions and 3 deletions

View File

@@ -4827,7 +4827,7 @@ LocallabSoft::LocallabSoft():
showmasksoftMethod->append(M("TP_LOCALLAB_SHOWNORMAL"));
showmasksoftMethod->append(M("TP_LOCALLAB_SHOWMODIF"));
showmasksoftMethod->set_active(0);
showmasksoftMethod->set_tooltip_markup(M("TP_LOCALLAB_SHOWMASKSOFT_TOOLTIP"));
// showmasksoftMethod->set_tooltip_markup(M("TP_LOCALLAB_SHOWMASKSOFT_TOOLTIP"));
showmasksoftMethodConn = showmasksoftMethod->signal_changed().connect(sigc::mem_fun(*this, &LocallabSoft::showmasksoftMethodChanged));
streng->setAdjusterListener(this);
@@ -4868,8 +4868,16 @@ void LocallabSoft::updateAdviceTooltips(const bool showTooltips)
{
if (showTooltips) {
softMethod->set_tooltip_markup(M("TP_LOCALLAB_SOFTMETHOD_TOOLTIP"));
// ctboxsoftmethod->set_tooltip_markup(M("TP_LOCALLAB_ORRETISTEP_TOOLTIP"));
showmasksoftMethod->set_tooltip_markup(M("TP_LOCALLAB_SHOWMASKSOFT_TOOLTIP"));
streng->set_tooltip_text(M("TP_LOCALLAB_ORRETISTREN_TOOLTIP"));
laplace->set_tooltip_text(M("TP_LOCALLAB_ORRETILAP_TOOLTIP"));
} else {
softMethod->set_tooltip_text("");
softMethod->set_tooltip_markup(M(""));
// ctboxsoftmethod->set_tooltip_markup(M(""));
showmasksoftMethod->set_tooltip_markup(M(""));
streng->set_tooltip_text(M(""));
laplace->set_tooltip_text(M(""));
}
}