Change tooltip

This commit is contained in:
Desmis
2019-11-23 17:45:36 +01:00
parent 7a70a49f4e
commit 2e11cf6f7e
2 changed files with 11 additions and 5 deletions

View File

@@ -2301,6 +2301,7 @@ TP_LOCALLAB_EXECLU;Excluding spot
TP_LOCALLAB_EXPOSE;Exposure
TP_LOCALLAB_GRADFRA;Graduated Filter
TP_LOCALLAB_FEATH_TOOLTIP;Gradient width in percent of the Spot diagonal\n..
TP_LOCALLAB_GRADGEN_TOOLTIP;Graduated filter installed in Color and Light, Exposure & mask, Shadows Highlight.\n\nColor and Light & merge file are furnished with GF luminance, chrominance, Hue.\nFeather is located in settings.
TP_LOCALLAB_GRADSTR_TOOLTIP;Filter strength in stops
TP_LOCALLAB_GRADANG_TOOLTIP;Rotation angle in degrees : -180 0 +180
TP_LOCALLAB_GRADSTRAB_TOOLTIP;Filter chroma strength

View File

@@ -708,7 +708,7 @@ pe(nullptr)
}
if (showtooltip) {
strcol->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP"));
strcol->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP"));
strcolab->set_tooltip_text(M("TP_LOCALLAB_GRADSTRAB_TOOLTIP"));
strcolh->set_tooltip_text(M("TP_LOCALLAB_GRADSTRHUE_TOOLTIP"));
angcol->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP"));
@@ -1173,8 +1173,8 @@ pe(nullptr)
fatlevel->setAdjusterListener(this);
if (showtooltip) {
strexp->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP"));
strmaskexp->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP"));
strexp->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP"));
strmaskexp->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP"));
angexp->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP"));
angmaskexp->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP"));
}
@@ -1302,6 +1302,7 @@ pe(nullptr)
fatFrame->add(*fatBox);
gradFrame->set_label_align(0.025, 0.5);
ToolParamBlock* const gradBox = Gtk::manage(new ToolParamBlock());
gradBox->pack_start(*strexp);
gradBox->pack_start(*angexp);
@@ -1323,7 +1324,11 @@ pe(nullptr)
exposeBox->pack_start(*structexp);
exposeBox->pack_start(*blurexpde);
exposeBox->pack_start(*gradFrame);
/*
if (showtooltip) {
gradFrame->set_tooltip_markup(M("TP_LOCALLAB_GRADGEN_TOOLTIP"));
}
*/
exposeBox->pack_start(*softradiusexp);
exposeBox->pack_start(*curveEditorG, Gtk::PACK_SHRINK, 4); // Padding is mandatory to correct behavior of curve editor
exposeBox->pack_start(*inversex);
@@ -1409,7 +1414,7 @@ pe(nullptr)
}
if (showtooltip) {
strSH->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP"));
strSH->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP"));
angSH->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP"));
}