Stellarium 0.15.2
|
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 |
StelFader & | operator= (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 |
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.