OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
MWGui::FadeOp Class Reference

#include <screenfader.hpp>

Collaboration diagram for MWGui::FadeOp:

Public Types

typedef std::shared_ptr< FadeOpPtr
 

Public Member Functions

 FadeOp (ScreenFader *fader, float time, float targetAlpha, float delay)
 
bool isRunning ()
 
void start ()
 
void update (float dt)
 
void finish ()
 

Private Attributes

ScreenFadermFader
 
float mRemainingTime
 
float mTargetTime
 
float mTargetAlpha
 
float mStartAlpha
 
float mDelay
 
bool mRunning
 

Member Typedef Documentation

typedef std::shared_ptr<FadeOp> MWGui::FadeOp::Ptr

Constructor & Destructor Documentation

MWGui::FadeOp::FadeOp ( ScreenFader fader,
float  time,
float  targetAlpha,
float  delay 
)

Member Function Documentation

void MWGui::FadeOp::finish ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool MWGui::FadeOp::isRunning ( )
void MWGui::FadeOp::start ( )

Here is the call graph for this function:

void MWGui::FadeOp::update ( float  dt)

Here is the call graph for this function:

Member Data Documentation

float MWGui::FadeOp::mDelay
private
ScreenFader* MWGui::FadeOp::mFader
private
float MWGui::FadeOp::mRemainingTime
private
bool MWGui::FadeOp::mRunning
private
float MWGui::FadeOp::mStartAlpha
private
float MWGui::FadeOp::mTargetAlpha
private
float MWGui::FadeOp::mTargetTime
private

The documentation for this class was generated from the following files: