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:
2014-05-30 11:55:39 +02:00
committed by svenhoefer
parent df1c8ac00d
commit 69e2debb02
11 changed files with 40 additions and 40 deletions

View File

@@ -36,12 +36,12 @@ class COSDFader
CFrameBuffer *frameBuffer;
public:
COSDFader(unsigned char &alpha);
~COSDFader();
virtual ~COSDFader();
void StartFadeIn();
bool StartFadeOut();
void Stop();
bool Fade();
uint32_t GetTimer() { return fadeTimer; };
void StopFade();
bool FadeDone();
uint32_t GetFadeTimer() { return fadeTimer; };
};
#endif