added tooltip to the hisogram matching button

This commit is contained in:
Alberto Griggio 2018-01-21 19:00:40 +01:00
parent 9e123e547d
commit d44a3b8bb3
2 changed files with 3 additions and 0 deletions

View File

@ -1554,6 +1554,7 @@ TP_EXPOSURE_CURVEEDITOR2;Tone curve 2
TP_EXPOSURE_CURVEEDITOR2_TOOLTIP;Please refer to the "Exposure > Tone Curves" RawPedia article to learn how to achieve the best results by using two tone curves. TP_EXPOSURE_CURVEEDITOR2_TOOLTIP;Please refer to the "Exposure > Tone Curves" RawPedia article to learn how to achieve the best results by using two tone curves.
TP_EXPOSURE_EXPCOMP;Exposure compensation TP_EXPOSURE_EXPCOMP;Exposure compensation
TP_EXPOSURE_HISTMATCHING;Auto-matched Tone Curve TP_EXPOSURE_HISTMATCHING;Auto-matched Tone Curve
TP_EXPOSURE_HISTMATCHING_TOOLTIP;Automatically adjust sliders and curves (except exposure compensation) to match the look of the embedded JPEG thumbnail.
TP_EXPOSURE_LABEL;Exposure TP_EXPOSURE_LABEL;Exposure
TP_EXPOSURE_SATURATION;Saturation TP_EXPOSURE_SATURATION;Saturation
TP_EXPOSURE_TCMODE_FILMLIKE;Film-like TP_EXPOSURE_TCMODE_FILMLIKE;Film-like

View File

@ -127,6 +127,7 @@ ToneCurve::ToneCurve () : FoldableToolPanel(this, "tonecurve", M("TP_EXPOSURE_LA
pack_start (*Gtk::manage (new Gtk::HSeparator())); pack_start (*Gtk::manage (new Gtk::HSeparator()));
histmatching = Gtk::manage(new Gtk::ToggleButton(M("TP_EXPOSURE_HISTMATCHING"))); histmatching = Gtk::manage(new Gtk::ToggleButton(M("TP_EXPOSURE_HISTMATCHING")));
histmatching->set_tooltip_markup(M("TP_EXPOSURE_HISTMATCHING_TOOLTIP"));
histmatchconn = histmatching->signal_toggled().connect(sigc::mem_fun(*this, &ToneCurve::histmatchingToggled)); histmatchconn = histmatching->signal_toggled().connect(sigc::mem_fun(*this, &ToneCurve::histmatchingToggled));
pack_start(*histmatching, true, true, 2); pack_start(*histmatching, true, true, 2);
@ -448,6 +449,7 @@ void ToneCurve::setRaw (bool raw)
disableListener (); disableListener ();
method->set_sensitive (raw); method->set_sensitive (raw);
hrenabled->set_sensitive (raw); hrenabled->set_sensitive (raw);
histmatching->set_sensitive(raw);
enableListener (); enableListener ();
} }