Adding new HISTORY_MSG_ strings, reordering some events in procevents.h, correction of a small bug in LAB/saturation limiter

This commit is contained in:
Hombre
2011-02-12 13:48:19 +01:00
parent 6ffafc5346
commit 7a841c8560
6 changed files with 29 additions and 18 deletions

View File

@@ -270,6 +270,8 @@ void LCurve::adjusterChanged (Adjuster* a, double newval) {
Glib::ustring costr;
if (a==brightness)
costr = Glib::ustring::format (std::setw(3), std::fixed, std::setprecision(2), a->getValue());
else if (a==saturationlimiter)
costr = Glib::ustring::format (std::setw(3), std::fixed, std::setprecision(1), a->getValue());
else
costr = Glib::ustring::format ((int)a->getValue());
@@ -280,7 +282,7 @@ void LCurve::adjusterChanged (Adjuster* a, double newval) {
else if (a==saturation)
listener->panelChanged (EvLSaturation, costr);
else if (a==saturationlimiter)
listener->panelChanged (EvLSatLimiter, costr);
listener->panelChanged (EvLSatLimit, costr);
}
//attempt to hide unused channels