Refactor tool name code

This commit is contained in:
Lawrence Lee
2021-12-11 21:21:54 -08:00
parent 546c99d276
commit 40678f67b0
114 changed files with 290 additions and 113 deletions

View File

@@ -32,7 +32,9 @@
using namespace rtengine;
using namespace rtengine::procparams;
LCurve::LCurve () : FoldableToolPanel(this, "labcurves", M("TP_LABCURVE_LABEL"), false, true)
const Glib::ustring LCurve::TOOL_NAME = "labcurves";
LCurve::LCurve () : FoldableToolPanel(this, TOOL_NAME, M("TP_LABCURVE_LABEL"), false, true)
{
brightness = Gtk::manage (new Adjuster (M("TP_LABCURVE_BRIGHTNESS"), -100., 100., 1., 0.));
contrast = Gtk::manage (new Adjuster (M("TP_LABCURVE_CONTRAST"), -100., 100., 1., 0.));