From bef6d823bf9d6daba97c4926c91e1fad559402eb Mon Sep 17 00:00:00 2001 From: Desmis Date: Tue, 23 Jun 2020 07:36:49 +0200 Subject: [PATCH] Change tooltips --- rtdata/languages/default | 3 +++ rtgui/locallabtools2.cc | 32 ++++++-------------------------- 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index 747602045..cf0b41ac3 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2334,6 +2334,7 @@ TP_LOCALLAB_BILATERAL;Bilateral filter TP_LOCALLAB_BLACK_EV;Black Ev TP_LOCALLAB_BLENDMASKCOL;Blend TP_LOCALLAB_BLENDMASK_TOOLTIP;If blend = 0 only shape detection is improved.\nIf blend > 0 the mask is added to the image. If blend < 0 the mask is subtracted from the image +TP_LOCALLAB_BLENDMASKMASK_TOOLTIP;If blend = 0 no action.\nAdd or subtract the mask from the original image TP_LOCALLAB_BLGUID;Guided Filter TP_LOCALLAB_BLINV;Inverse TP_LOCALLAB_BLCO;Chrominance only @@ -2412,6 +2413,7 @@ TP_LOCALLAB_CSTHRESHOLDBLUR;Ψ Mask Wavelet level TP_LOCALLAB_CURV;Lightness - Contrast - Chrominance "Super" TP_LOCALLAB_CURVCURR;Normal TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP;If curves at the top, mask is completely black no transformation is made by the mask on the image.\nAs you go down the curve, the mask gradually more colorful and brilliant, the image is changing more and more.\n\nIt is recommended (not required) to position the top of the curves on the gray transition line which represents the references (chroma, luma, hue). +TP_LOCALLAB_CURVEEDITORM_CC_TOOLTIP;If curves at the top, mask is completely black no transformation is made by the mask on the image.\nAs you go down the curve, the mask gradually more colorful and brilliant, the image is changing more and more.\n\nThe gray transition line which represents the references (chroma, luma, hue).\nYou can choose or not to position the top of the curves on this transition. TP_LOCALLAB_CURVEEDITOR_LL_TOOLTIP;To be active, you must enable combobox 'Curves type' TP_LOCALLAB_CURVEEDITOR_TONES_LABEL;Tone curve TP_LOCALLAB_CURVEEDITOR_TONES_TOOLTIP;L=f(L), can be used with L(H) in Color and Light @@ -2715,6 +2717,7 @@ TP_LOCALLAB_SENSILOG;Scope TP_LOCALLAB_SENSIS;Scope TP_LOCALLAB_SENSIS_TOOLTIP;Adjust scope of action:\nSmall values limit action to colors very similar to those under the center spot.\nHigh values let the tool act upon a wider range of colors.\nValues smaller than 20 lead to a better algorithm. TP_LOCALLAB_SENSI_TOOLTIP;Adjust scope of action:\nSmall values limit action to colors very similar to those under the center spot.\nHigh values let the tool act upon a wider range of colors.\nValues smaller than 20 lead to a better algorithm. +TP_LOCALLAB_SENSIMASK_TOOLTIP;Adjust scope of action for this common mask tool.\nActs on the gap between the original image and the mask.\nThe references (luma, chroma, hue) are those of the center of the RT-spot TP_LOCALLAB_SETTINGS;Settings TP_LOCALLAB_SH1;Shadows Highlights TP_LOCALLAB_SH2;Equalizer diff --git a/rtgui/locallabtools2.cc b/rtgui/locallabtools2.cc index 8af2fa605..2d94407d0 100644 --- a/rtgui/locallabtools2.cc +++ b/rtgui/locallabtools2.cc @@ -4904,11 +4904,11 @@ void LocallabMask::updateAdviceTooltips(const bool showTooltips) { if (showTooltips) { exp->set_tooltip_text(M("TP_LOCALLAB_MASKCOM_TOOLTIP")); - sensimask->set_tooltip_text(M("TP_LOCALLAB_SENSI_TOOLTIP")); - blendmask->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP")); - CCmask_shape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP")); - LLmask_shape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP")); - HHmask_shape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP")); + sensimask->set_tooltip_text(M("TP_LOCALLAB_SENSIMASK_TOOLTIP")); + blendmask->set_tooltip_text(M("TP_LOCALLAB_BLENDMASKMASK_TOOLTIP")); + CCmask_shape->setTooltip(M("TP_LOCALLAB_CURVEEDITORM_CC_TOOLTIP")); + LLmask_shape->setTooltip(M("TP_LOCALLAB_CURVEEDITORM_CC_TOOLTIP")); + HHmask_shape->setTooltip(M("TP_LOCALLAB_CURVEEDITORM_CC_TOOLTIP")); struFrame->set_tooltip_text(M("TP_LOCALLAB_STRUMASK_TOOLTIP")); mask_HCurveEditorG->set_tooltip_text(M("TP_LOCALLAB_HHMASK_TOOLTIP")); radmask->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP")); @@ -5028,8 +5028,6 @@ void LocallabMask::read(const rtengine::procparams::ProcParams* pp, const Params // Update GUI according to complexity mode updateGUIToMode(static_cast(complexity->get_active_row_number())); - // Update Log Encoding GUI according to autocompute button state -// updateLogGUI(); // Note: No need to manage pedited as batch mode is deactivated for Locallab } @@ -5044,7 +5042,7 @@ void LocallabMask::write(rtengine::procparams::ProcParams* pp, ParamsEdited* ped spot.expmask = exp->getEnabled(); spot.visimask = exp->get_visible(); spot.complexmask = complexity->get_active_row_number(); - + spot.sensimask = sensimask->getIntValue(); spot.blendmask = blendmask->getIntValue(); spot.enamask = enamask->get_active(); @@ -5404,21 +5402,3 @@ void LocallabMask::toolmaskChanged() } } } - - -/* -void LocallabLog::updateLogGUI() -{ - if (autocompute->get_active()) { - blackEv->set_sensitive(false); - whiteEv->set_sensitive(false); - sourceGray->set_sensitive(false); - // targetGray->set_sensitive(true); - } else { - blackEv->set_sensitive(true); - whiteEv->set_sensitive(true); - sourceGray->set_sensitive(true); - // targetGray->set_sensitive(true); - } -} -*/ \ No newline at end of file