Turn almost all Listeners into abstract interfaces
This commit is contained in:
@@ -521,9 +521,8 @@ void LCurve::curveChanged (CurveEditor* ce)
|
||||
}
|
||||
}
|
||||
|
||||
void LCurve::adjusterChanged (Adjuster* a, double newval)
|
||||
void LCurve::adjusterChanged(Adjuster* a, double newval)
|
||||
{
|
||||
|
||||
Glib::ustring costr;
|
||||
|
||||
if (a == brightness) {
|
||||
@@ -565,6 +564,10 @@ void LCurve::adjusterChanged (Adjuster* a, double newval)
|
||||
}
|
||||
}
|
||||
|
||||
void LCurve::adjusterAutoToggled(Adjuster* a, bool newval)
|
||||
{
|
||||
}
|
||||
|
||||
void LCurve::colorForValue (double valX, double valY, enum ColorCaller::ElemType elemType, int callerId, ColorCaller *caller)
|
||||
{
|
||||
|
||||
@@ -642,14 +645,21 @@ void LCurve::setBatchMode (bool batchMode)
|
||||
}
|
||||
|
||||
|
||||
void LCurve::updateCurveBackgroundHistogram (LUTu & histToneCurve, LUTu & histLCurve, LUTu & histCCurve,/* LUTu & histCLurve, LUTu & histLLCurve,*/ LUTu & histLCAM, LUTu & histCCAM, LUTu & histRed, LUTu & histGreen, LUTu & histBlue, LUTu & histLuma, LUTu & histLRETI)
|
||||
void LCurve::updateCurveBackgroundHistogram(
|
||||
const LUTu& histToneCurve,
|
||||
const LUTu& histLCurve,
|
||||
const LUTu& histCCurve,
|
||||
const LUTu& histLCAM,
|
||||
const LUTu& histCCAM,
|
||||
const LUTu& histRed,
|
||||
const LUTu& histGreen,
|
||||
const LUTu& histBlue,
|
||||
const LUTu& histLuma,
|
||||
const LUTu& histLRETI
|
||||
)
|
||||
{
|
||||
|
||||
lshape->updateBackgroundHistogram (histLCurve);
|
||||
ccshape->updateBackgroundHistogram (histCCurve);
|
||||
// clshape->updateBackgroundHistogram (histCLurve);
|
||||
// lcshape->updateBackgroundHistogram (histLLCurve);
|
||||
|
||||
}
|
||||
|
||||
void LCurve::setAdjusterBehavior (bool bradd, bool contradd, bool satadd)
|
||||
|
Reference in New Issue
Block a user