Starshatter_Open
Open source Starshatter engine
|
#include <FadeView.h>
Public Types | |
enum | FadeState { StateStart, State2, StateIn, StateHold, StateOut, StateDone } |
Public Member Functions | |
FadeView (Window *c, double fade_in=1, double fade_out=1, double hold_time=4) | |
virtual | ~FadeView () |
virtual void | Refresh () |
virtual bool | Done () const |
virtual bool | Holding () const |
virtual void | FastFade (int fade_fast) |
virtual void | FadeIn (double fade_in) |
virtual void | FadeOut (double fade_out) |
virtual void | StopHold () |
Public Member Functions inherited from View | |
View (Window *c) | |
virtual | ~View () |
int | operator== (const View &that) const |
virtual void | OnWindowMove () |
virtual void | OnShow () |
virtual void | OnHide () |
virtual void | SetWindow (Window *w) |
virtual Window * | GetWindow () |
Static Public Member Functions | |
static const char * | TYPENAME () |
Protected Attributes | |
double | fade_in |
double | fade_out |
double | hold_time |
double | time |
double | step_time |
int | fast |
FadeState | state |
Protected Attributes inherited from View | |
Window * | window |
Definition at line 23 of file FadeView.h.
enum FadeView::FadeState |
Definition at line 28 of file FadeView.h.
FadeView::FadeView | ( | Window * | c, |
double | fade_in = 1 , |
||
double | fade_out = 1 , |
||
double | hold_time = 4 |
||
) |
Definition at line 25 of file FadeView.cpp.
|
virtual |
Definition at line 37 of file FadeView.cpp.
|
inlinevirtual |
Definition at line 35 of file FadeView.h.
|
virtual |
Definition at line 42 of file FadeView.cpp.
|
virtual |
Definition at line 43 of file FadeView.cpp.
|
virtual |
Definition at line 44 of file FadeView.cpp.
|
inlinevirtual |
Definition at line 36 of file FadeView.h.
|
virtual |
Reimplemented from View.
Definition at line 54 of file FadeView.cpp.
|
virtual |
Definition at line 45 of file FadeView.cpp.
|
inlinestatic |
Reimplemented from View.
Definition at line 26 of file FadeView.h.
|
protected |
Definition at line 45 of file FadeView.h.
|
protected |
Definition at line 46 of file FadeView.h.
|
protected |
Definition at line 51 of file FadeView.h.
|
protected |
Definition at line 47 of file FadeView.h.
|
protected |
Definition at line 52 of file FadeView.h.
|
protected |
Definition at line 49 of file FadeView.h.
|
protected |
Definition at line 48 of file FadeView.h.