Stellarium  0.17.0
Public Member Functions
BooleanFader Class Reference

Implementation of StelFader which behaves like a normal boolean, i.e. More...

#include <StelFader.hpp>

Public Member Functions

 BooleanFader (bool initialState=false)
void update (int deltaMs)
 Increments the internal counter of deltaMs milliseconds.
float getInterstate () const
 Gets current value (between 0 and 1)
StelFaderoperator= (bool s)
virtual float getDuration ()
- 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

Detailed Description

no transition between on and off.