Turn almost all Listeners into abstract interfaces

This commit is contained in:
Flössie
2018-10-09 20:32:40 +02:00
parent 2a9d3896bb
commit 2125f42116
159 changed files with 1385 additions and 939 deletions

View File

@@ -257,9 +257,8 @@ void Resize::setDefaults (const ProcParams* defParams, const ParamsEdited* pedit
}
}
void Resize::adjusterChanged (Adjuster* a, double newval)
void Resize::adjusterChanged(Adjuster* a, double newval)
{
if (!batchMode) {
wconn.block (true);
hconn.block (true);
@@ -274,6 +273,10 @@ void Resize::adjusterChanged (Adjuster* a, double newval)
}
}
void Resize::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
int Resize::getComputedWidth()
{
@@ -351,9 +354,8 @@ void Resize::update (bool isCropped, int cw, int ch, int ow, int oh)
setDimensions();
}
void Resize::sizeChanged (int mw, int mh, int ow, int oh)
void Resize::sizeChanged(int mw, int mh, int ow, int oh)
{
// updating max values now
maxw = ow;
maxh = oh;