Table of Contents

 
FadeComplete
 

Purpose

Returns whether a fade effect has been completed

 

Protoype

bool CVideo::FadeComplete ()
 

Description

This function returns TRUE if the fade effect has completed, or FALSE if it has not.

NOTE: This function will return TRUE only when a fade effect is in progress and FALSE any other time, even if no fade is in effect. That means that when you use this function be sure that you have previously started a fade effect otherwise you may end up with bugs

 

Use

CVideo video;
// fade effect started
// are we done?
if (video.FadeComplete())
    return;
 

Prev: DoVideoEffects