From 51c3480e6834113cf7a4b5997e08ed33a726b8fb Mon Sep 17 00:00:00 2001 From: Desmis Date: Sat, 9 Mar 2019 15:03:00 +0100 Subject: [PATCH] Add tooltip shadows-highlight --- rtdata/languages/default | 1 + rtgui/locallab.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/rtdata/languages/default b/rtdata/languages/default index 2ff997c63..30fdd6ab9 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2051,6 +2051,7 @@ TP_LOCALLAB_SHAPETYPE;Shape RT-spot area TP_LOCALLAB_SHAPE_TOOLTIP;Rectangle is only in normal mode. TP_LOCALLAB_ELI;Elipse TP_LOCALLAB_RECT;Rectangle +TP_LOCALLAB_SHADOWHIGHLIGHT_TOOLTIP;Can be used instead - or in complement - of exposure module in difficult cases TP_LOCALLAB_SHARP;Sharpening TP_LOCALLAB_SHARRADIUS;Radius TP_LOCALLAB_SHARAMOUNT;Amount diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index 1ae92c0c2..b4cb3a1de 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -511,6 +511,7 @@ Locallab::Locallab(): //shadow highlight expshadhigh->signal_button_release_event().connect_notify(sigc::bind(sigc::mem_fun(this, &Locallab::foldAllButMe), expshadhigh)); enableshadhighConn = expshadhigh->signal_enabled_toggled().connect(sigc::bind(sigc::mem_fun(this, &Locallab::enableToggled), expshadhigh)); + expshadhigh->set_tooltip_text(M("TP_LOCALLAB_SHADOWHIGHLIGHT_TOOLTIP")); highlights->setAdjusterListener(this); h_tonalwidth->setAdjusterListener(this);