Stellarium 0.13.0
List of all members | 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, float minimumValue=0.f, float maximumValue=1.f)
 
void update (int deltaTicks)
 
float getInterstate () const
 
float getInterstatePercentage () const
 
StelFaderoperator= (bool s)
 
virtual float getDuration ()
 
- Public Member Functions inherited from StelFader
 StelFader (bool initialState, float minimumValue=0.f, float maximumValue=1.f)
 
bool operator== (bool s) const
 
 operator bool () const
 
virtual void setDuration (int)
 
virtual void setMinValue (float _min)
 
virtual void setMaxValue (float _max)
 
float getMinValue ()
 
float getMaxValue ()
 

Additional Inherited Members

- Protected Attributes inherited from StelFader
bool state
 
float minValue
 
float maxValue
 

Detailed Description

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

no transition between on and off.