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

@@ -27,7 +27,9 @@
using namespace rtengine;
using namespace rtengine::procparams;
RGBCurves::RGBCurves () : FoldableToolPanel(this, "rgbcurves", M("TP_RGBCURVES_LABEL"), false, true), lastLumamode(false)
const Glib::ustring RGBCurves::TOOL_NAME = "rgbcurves";
RGBCurves::RGBCurves () : FoldableToolPanel(this, TOOL_NAME, M("TP_RGBCURVES_LABEL"), false, true), lastLumamode(false)
{
lumamode = Gtk::manage (new Gtk::CheckButton (M("TP_RGBCURVES_LUMAMODE")));