Stellarium
1.2
|
#include <StelFader.hpp>
Public Member Functions | |
BooleanFader (bool initialState=false) | |
void | update (int deltaMs) Q_DECL_OVERRIDE |
Increments the internal counter of deltaMs milliseconds. | |
float | getInterstate () const Q_DECL_OVERRIDE |
Gets current value (between 0 and 1) | |
StelFader & | operator= (bool s) Q_DECL_OVERRIDE |
virtual float | getDuration () const Q_DECL_OVERRIDE |
Public Member Functions inherited from StelFader | |
StelFader (bool initialState) | |
bool | operator== (bool s) const |
operator bool () const | |
virtual void | setDuration (int) |
Additional Inherited Members | |
Protected Member Functions inherited from StelFader | |
float | getTargetValue () const |
float | getStartValue () const |
Protected Attributes inherited from StelFader | |
bool | state |
Implementation of StelFader which behaves like a normal boolean, i.e. no transition between on and off.