Stellarium 0.13.0
List of all members | Public Member Functions | Protected Attributes
ParabolicFader Class Reference

Public Member Functions

 ParabolicFader (int _duration=1000, float minimumValue=0.f, float maximumValue=1.f, bool initialState=false)
 
void update (int deltaTicks)
 
float getInterstate (void) const
 
float getInterstatePercentage (void) const
 
StelFaderoperator= (bool s)
 
void setDuration (int _duration)
 
virtual float getDuration (void)
 
- 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 setMinValue (float _min)
 
virtual void setMaxValue (float _max)
 
float getMinValue ()
 
float getMaxValue ()
 

Protected Attributes

bool isTransiting
 
int duration
 
float startValue
 
float targetValue
 
int counter
 
float interstate
 
- Protected Attributes inherited from StelFader
bool state
 
float minValue
 
float maxValue