mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
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.
This commit is contained in:
@@ -419,8 +419,8 @@ int CBouquetList::show(bool bShowChannelList)
|
||||
if ( msg <= CRCInput::RC_MaxRC )
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_CHANLIST]);
|
||||
|
||||
if((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetTimer())) {
|
||||
if(fader.Fade())
|
||||
if((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) {
|
||||
if(fader.FadeDone())
|
||||
loop = false;
|
||||
}
|
||||
else if ((msg == CRCInput::RC_timeout ) ||
|
||||
@@ -561,7 +561,7 @@ int CBouquetList::show(bool bShowChannelList)
|
||||
}
|
||||
hide();
|
||||
|
||||
fader.Stop();
|
||||
fader.StopFade();
|
||||
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||
if (save_bouquets) {
|
||||
|
Reference in New Issue
Block a user