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;
XTransRAWExposure::XTransRAWExposure () : FoldableToolPanel(this, "xtransrawexposure", M("TP_EXPOS_BLACKPOINT_LABEL"))
const Glib::ustring XTransRAWExposure::TOOL_NAME = "xtransrawexposure";
XTransRAWExposure::XTransRAWExposure () : FoldableToolPanel(this, TOOL_NAME, M("TP_EXPOS_BLACKPOINT_LABEL"))
{
PexBlackRed = Gtk::manage(new Adjuster (M("TP_RAWEXPOS_BLACK_RED"), -2048, 2048, 1.0, 0)); //black level
PexBlackRed->setAdjusterListener (this);