Stellarium 0.15.2
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>

+ Inheritance diagram for BooleanFader:
+ Collaboration diagram for BooleanFader:

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.

Definition at line 56 of file StelFader.hpp.


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