From 5fa5a30fcc7b48e82b79eaa9b084e55beebba5c2 Mon Sep 17 00:00:00 2001 From: Desmis Date: Wed, 8 May 2019 11:31:28 +0200 Subject: [PATCH] Change label and tooltip Retinex --- rtdata/languages/default | 4 +++- rtgui/locallab.cc | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index b2ea2ba35..0ae674e88 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2033,6 +2033,7 @@ TP_LOCALLAB_EXPOSE;Exposure TP_LOCALLAB_EXPOSURE_TOOLTIP;In some cases (strong shadows ..) you can use the module "Shadows Highlights" TP_LOCALLAB_EXPCHROMA;Chroma compensation TP_LOCALLAB_GUIDFILTER;Guide filter radius +TP_LOCALLAB_GUIDFILTER_TOOLTIP;Adapt this values according to images - reduce if non misty images TP_LOCALLAB_LOC_CONTRAST;Local contrast TP_LOCALLAB_REFLABEL;Ref. (0..1) Chroma=%1 Luma=%2 Hue=%3 TP_LOCALLAB_NOISELUMFINE;Luminance fine 1 (Wav) @@ -2069,7 +2070,8 @@ TP_LOCALLAB_RADIUS;Radius TP_LOCALLAB_RADMASKCOL;Radius TP_LOCALLAB_RESID;Residual Image TP_LOCALLAB_CONTRESID;Contrast -TP_LOCALLAB_RETI;Retinex +TP_LOCALLAB_RETI;Retinex - strong local contrast +TP_LOCALLAB_RETI_NEIGH_VART_TOOLTIP;Adapt these values according to images - if misty images and depending on whether you want to act on the front or the background TP_LOCALLAB_TRANSMISSIONGAIN;Transmission gain TP_LOCALLAB_STREN;Compression Strength TP_LOCALLAB_STRGRID;Strength diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index 7ca2d96a6..9b40b3672 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -826,8 +826,10 @@ Locallab::Locallab(): str->setAdjusterListener(this); neigh->setAdjusterListener(this); + if(showtooltip) neigh->set_tooltip_text(M("TP_LOCALLAB_RETI_NEIGH_VART_TOOLTIP")); vart->setAdjusterListener(this); + if(showtooltip) vart->set_tooltip_text(M("TP_LOCALLAB_RETI_NEIGH_VART_TOOLTIP")); dehaz->setAdjusterListener(this); @@ -836,6 +838,7 @@ Locallab::Locallab(): if(showtooltip) sensih->set_tooltip_text(M("TP_LOCALLAB_SENSIH_TOOLTIP")); sensih->setAdjusterListener(this); softradiusret->setAdjusterListener(this); + if(showtooltip) softradiusret->set_tooltip_text(M("TP_LOCALLAB_GUIDFILTER_TOOLTIP")); LocalcurveEditorgainT->setCurveListener(this);