mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-08 14:18:35 +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:
@@ -43,7 +43,7 @@ COSDFader::COSDFader(unsigned char & alpha)
|
||||
|
||||
COSDFader::~COSDFader()
|
||||
{
|
||||
Stop();
|
||||
StopFade();
|
||||
}
|
||||
|
||||
void COSDFader::StartFadeIn()
|
||||
@@ -85,7 +85,7 @@ bool COSDFader::StartFadeOut()
|
||||
return ret;
|
||||
}
|
||||
|
||||
void COSDFader::Stop()
|
||||
void COSDFader::StopFade()
|
||||
{
|
||||
if ( fadeIn || fadeOut ) {
|
||||
g_RCInput->killTimer(fadeTimer);
|
||||
@@ -100,7 +100,7 @@ void COSDFader::Stop()
|
||||
}
|
||||
|
||||
/* return true, if fade out done */
|
||||
bool COSDFader::Fade()
|
||||
bool COSDFader::FadeDone()
|
||||
{
|
||||
bool ret = false;
|
||||
|
||||
|
Reference in New Issue
Block a user