Fixing history messages for Defringing and Impulse NR.

This commit is contained in:
Emil Martinec
2010-12-02 14:06:36 -06:00
parent a495345672
commit 91fb116816
3 changed files with 12 additions and 9 deletions

View File

@@ -141,6 +141,9 @@ HISTORY_MSG_101;HSV EQ -- Hue
HISTORY_MSG_102;HSV EQ -- Saturation
HISTORY_MSG_103;HSV EQ -- Value
HISTORY_MSG_104;HSV Equalizer
HISTORY_MSG_105;Defringing enabled
HISTORY_MSG_106;Defringing radius
HISTORY_MSG_107;Defringing threshold
HISTORY_MSG_10;Shadow Compression
HISTORY_MSG_11;Tone Curve
HISTORY_MSG_12;Auto Exposure
@@ -225,8 +228,8 @@ HISTORY_MSG_83;High quality shadows/highlights
HISTORY_MSG_84;Perspective correction
HISTORY_MSG_85;Wavelet coefficients
HISTORY_MSG_86;Wavelet equalizer
HISTORY_MSG_87;Salt&pepper noise reduction
HISTORY_MSG_88;Salt&pepper NR threshold
HISTORY_MSG_87;Impulse noise reduction
HISTORY_MSG_88;Impulse NR threshold
HISTORY_MSG_89;Noise reduction
HISTORY_MSG_8;Exposure Compensation
HISTORY_MSG_90;NR - luminance
@@ -672,8 +675,8 @@ TP_ICM_OUTPUTDLGLABEL;Select Output ICC Profile...
TP_ICM_OUTPUTPROFILE;Output Profile
TP_ICM_SAVEREFERENCE;Save reference image for profiling
TP_ICM_WORKINGPROFILE;Working Profile
TP_IMPULSEDENOISE_LABEL;Spot Noise Reduction
TP_IMPULSEDENOISE_THRESH;Threshold
TP_IMPULSEDENOISE_LABEL;Impulse Noise Reduction
TP_IMPULSEDENOISE_THRESH;Impulse NR Threshold
TP_LABCURVE_BRIGHTNESS;Brightness
TP_LABCURVE_CONTRAST;Contrast
TP_LABCURVE_CURVEEDITOR;Luminance Curve

View File

@@ -417,7 +417,7 @@ class ProcParams {
ColorShiftParams colorShift; ///< Color shift parameters
LumaDenoiseParams lumaDenoise; ///< Luminance denoising parameters
ColorDenoiseParams colorDenoise; ///< Color denoising parameters
DefringeParams defringe; ///< Impulse denoising parameters
DefringeParams defringe; ///< Defringing parameters
ImpulseDenoiseParams impulseDenoise; ///< Impulse denoising parameters
DirPyrDenoiseParams dirpyrDenoise; ///< Directional Pyramid denoising parameters
SHParams sh; ///< Shadow/highlight enhancement parameters

View File

@@ -103,9 +103,9 @@ void Defringe::adjusterChanged (Adjuster* a, double newval) {
if (listener && enabled->get_active()) {
if (a==radius)
listener->panelChanged (EvLDNRadius, Glib::ustring::format (std::setw(2), std::fixed, std::setprecision(1), a->getValue()));
listener->panelChanged (EvDefringeRadius, Glib::ustring::format (std::setw(2), std::fixed, std::setprecision(1), a->getValue()));
else if (a==threshold)
listener->panelChanged (EvLDNEdgeTolerance, Glib::ustring::format ((int)a->getValue()));
listener->panelChanged (EvDefringeThreshold, Glib::ustring::format ((int)a->getValue()));
}
}
@@ -126,9 +126,9 @@ void Defringe::enabledChanged () {
if (listener) {
if (enabled->get_active ())
listener->panelChanged (EvLDNEnabled, M("GENERAL_ENABLED"));
listener->panelChanged (EvDefringeEnabled, M("GENERAL_ENABLED"));
else
listener->panelChanged (EvLDNEnabled, M("GENERAL_DISABLED"));
listener->panelChanged (EvDefringeEnabled, M("GENERAL_DISABLED"));
}
}