|
enum | DISPLAY_EFFECT {
EFFECT_NONE = 0,
EFFECT_FLOAT,
EFFECT_ZOOM,
EFFECT_RANDOM,
EFFECT_PANORAMA,
EFFECT_NO_TIMEOUT
} |
|
enum | TRANSITION_EFFECT {
TRANSITION_NONE = 0,
FADEIN_FADEOUT,
CROSSFADE,
TRANSITION_ZOOM,
TRANSITION_ROTATE
} |
|
|
void | SetTexture (int iSlideNumber, std::unique_ptr< CTexture > pTexture, DISPLAY_EFFECT dispEffect=EFFECT_RANDOM, TRANSITION_EFFECT transEffect=FADEIN_FADEOUT) |
|
void | UpdateTexture (std::unique_ptr< CTexture > pTexture) |
|
bool | IsLoaded () const |
|
void | UnLoad () |
|
void | Process (unsigned int currentTime, CDirtyRegionList &dirtyregions) |
|
void | Render () |
|
void | Close () |
|
void | Reset (DISPLAY_EFFECT dispEffect=EFFECT_RANDOM, TRANSITION_EFFECT transEffect=FADEIN_FADEOUT) |
|
DISPLAY_EFFECT | DisplayEffect () const |
|
bool | DisplayEffectNeedChange (DISPLAY_EFFECT newDispEffect) const |
|
bool | IsStarted () const |
|
bool | IsFinished () const |
|
bool | DrawNextImage () const |
|
int | GetWidth () const |
|
int | GetHeight () const |
|
void | Keep () |
|
bool | StartTransition () |
|
int | GetTransitionTime (int iType) const |
|
void | SetTransitionTime (int iType, int iTime) |
|
int | SlideNumber () const |
|
void | Zoom (float fZoomAmount, bool immediate=false) |
|
void | Rotate (float fRotateAngle, bool immediate=false) |
|
void | Pause (bool bPause) |
|
void | SetInSlideshow (bool slideshow) |
|
void | SetOriginalSize (int iOriginalWidth, int iOriginalHeight, bool bFullSize) |
|
bool | FullSize () const |
|
int | GetOriginalWidth () |
|
int | GetOriginalHeight () |
|
void | Move (float dX, float dY) |
|
float | GetZoom () const |
|
|
bool | m_bIsComic |
|
bool | m_bCanMoveHorizontally |
|
bool | m_bCanMoveVertically |
|
◆ Process()
void CSlideShowPic::Process |
( |
unsigned int |
currentTime, |
|
|
CDirtyRegionList & |
dirtyregions |
|
) |
| |
- Todo:
- change m_displayEffect != EFFECT_NO_TIMEOUT to whether we're running the slideshow
The documentation for this class was generated from the following files: