Definition at line 12 of file eggColorFader.h.
|
enum | eFlag {
SIGNAL_ON_FADE_IN
,
SIGNAL_ON_FADE_OUT
} |
|
|
enum | EStatus {
OPAQUE
,
HIDDEN
,
FADE_IN
,
FADE_OUT
} |
| The fader's status. More...
|
|
◆ eFlag
enum EGG::ColorFader::eFlag |
|
protected |
◆ ColorFader()
◆ ~ColorFader()
virtual EGG::ColorFader::~ColorFader |
( |
| ) |
|
|
inlinevirtual |
◆ setStatus()
◆ getStatus()
virtual EStatus EGG::ColorFader::getStatus |
( |
| ) |
const |
|
inlinevirtual |
◆ fadeIn()
bool EGG::ColorFader::fadeIn |
( |
| ) |
|
|
virtual |
◆ fadeOut()
bool EGG::ColorFader::fadeOut |
( |
| ) |
|
|
virtual |
Initiates a fade in from pure blacked-out.
The screen must be OPAQUE for the operation to be executed.
- Returns
- If the action was carried out.
Implements EGG::Fader.
Definition at line 51 of file eggColorFader.cpp.
◆ calc()
bool EGG::ColorFader::calc |
( |
| ) |
|
|
virtual |
Initiates a fade out from no-obstruction.
The screen must be HIDDEN for the operation to be executed.
- Returns
- If the action was carried out.
Implements EGG::Fader.
Definition at line 61 of file eggColorFader.cpp.
◆ draw()
void EGG::ColorFader::draw |
( |
| ) |
|
|
virtual |
Calculates the fader at the current frame.
- Returns
- If the operation was successful.
Implements EGG::Fader.
Definition at line 99 of file eggColorFader.cpp.
◆ setFrame()
void EGG::ColorFader::setFrame |
( |
u16 | frame | ) |
|
◆ setColor()
◆ mStatus
◆ mFlag
◆ mFrameCount
u16 EGG::ColorFader::mFrameCount |
|
protected |
◆ mFrame
u16 EGG::ColorFader::mFrame |
|
protected |
◆ mCurrColor
◆ mDims