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

@@ -28,7 +28,9 @@
using namespace rtengine;
using namespace rtengine::procparams;
ImpulseDenoise::ImpulseDenoise () : FoldableToolPanel(this, "impulsedenoise", M("TP_IMPULSEDENOISE_LABEL"), true, true)
const Glib::ustring ImpulseDenoise::TOOL_NAME = "impulsedenoise";
ImpulseDenoise::ImpulseDenoise () : FoldableToolPanel(this, TOOL_NAME, M("TP_IMPULSEDENOISE_LABEL"), true, true)
{
thresh = Gtk::manage (new Adjuster (M("TP_IMPULSEDENOISE_THRESH"), 0, 100, 1, 50));