ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseFader Class Reference

#include <base_fader.h>

Inheritance diagram for Wintermute::BaseFader:
Collaboration diagram for Wintermute::BaseFader:

List of all members.

Public Member Functions

uint32 getCurrentColor () const
bool fadeOut (uint32 targetColor, uint32 duration, bool system=false)
bool fadeIn (uint32 sourceColor, uint32 duration, bool system=false)
bool deactivate ()
bool display () override
bool update () override
 BaseFader (BaseGame *inGame)
 ~BaseFader () override

Private Attributes

bool _system
bool _active
byte _red
byte _green
byte _blue
byte _currentAlpha
byte _targetAlpha
byte _sourceAlpha
uint32 _duration
uint32 _startTime

Detailed Description

Definition at line 37 of file base_fader.h.


Constructor & Destructor Documentation

Wintermute::BaseFader::BaseFader ( BaseGame inGame  ) 

Definition at line 44 of file base_fader.cpp.

Wintermute::BaseFader::~BaseFader (  )  [override]

Definition at line 57 of file base_fader.cpp.


Member Function Documentation

bool Wintermute::BaseFader::deactivate (  ) 

Definition at line 108 of file base_fader.cpp.

bool Wintermute::BaseFader::display (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 95 of file base_fader.cpp.

bool Wintermute::BaseFader::fadeIn ( uint32  sourceColor,
uint32  duration,
bool  system = false 
)

Definition at line 116 of file base_fader.cpp.

bool Wintermute::BaseFader::fadeOut ( uint32  targetColor,
uint32  duration,
bool  system = false 
)

Definition at line 141 of file base_fader.cpp.

uint32 Wintermute::BaseFader::getCurrentColor (  )  const

Definition at line 168 of file base_fader.cpp.

bool Wintermute::BaseFader::update (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 63 of file base_fader.cpp.


Member Data Documentation

Definition at line 50 of file base_fader.h.

Definition at line 53 of file base_fader.h.

Definition at line 54 of file base_fader.h.

Definition at line 57 of file base_fader.h.

Definition at line 52 of file base_fader.h.

Definition at line 51 of file base_fader.h.

Definition at line 56 of file base_fader.h.

Definition at line 58 of file base_fader.h.

Definition at line 49 of file base_fader.h.

Definition at line 55 of file base_fader.h.


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


Generated on Sat Sep 26 2020 05:04:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge