COSDFader: rename member functions, adapt implementations

Stop() is not exactly attributable if fader class used as inherited and
Fade() don't tell really what done and related to return value 'bool'...
especially as the fader class members have been not documented.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 69e2debb02
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-30 (Fri, 30 May 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-05-30 11:55:39 +02:00
committed by vanhofen
parent 0ba1ddf21c
commit 5c7441f5d1
11 changed files with 40 additions and 40 deletions

View File

@@ -712,8 +712,8 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
pb.paint(false);
}
}
if(data == fader.GetTimer()) {
if(fader.Fade())
if(data == fader.GetFadeTimer()) {
if(fader.FadeDone())
loop = false;
}
else
@@ -973,7 +973,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
}
}
hide();
fader.Stop();
fader.StopFade();
}
return res;
}