97 GLS_EXPORT
void ChangeNeedle( DisplayObject* obj,
const float value,
float gauge_values[][ 2 ],
const int segments );
100 #define CLAMP_VALUE( val, min, max ) ( ( val ) < ( min ) ? ( min ) : ( ( val ) > ( max ) ? ( max ) : ( val ) ) )
109 GLS_EXPORT
int RampInt(
double time,
int min,
int max );
116 GLS_EXPORT
bool RampBool(
double time );
125 GLS_EXPORT
float RampFloat(
double time,
float min,
float max );
134 GLS_EXPORT
double RampDouble(
double time,
double min,
double max );
154 GLS_EXPORT
float Interpolate(
const float value,
float gauge_values[][ 2 ],
const int segments );
168 GLS_EXPORT
void ChangeHStrip( DisplayObject* obj,
float value,
const float min,
const float max,
169 float refPt,
const float locAtMin,
const float locAtMax );
183 GLS_EXPORT
void ChangeVStrip( DisplayObject* obj,
float value,
const float min,
const float max,
184 const float refPt,
const float locAtMin,
const float locAtMax );
212 const float unit_movement,
213 const float min_units,
214 const float max_units,
216 const float starting_x
245 const float unit_movement,
246 const float min_units,
247 const float max_units,
249 const float starting_y
254 const float unit_movement,
255 const float min_units,
256 const float max_units,
258 const float* starting_y
271 INPUT_FLAG_NORMAL = 0,
272 INPUT_FLAG_SNAPBACK = 1,
273 INPUT_FLAG_WRAPAROUND = 2
281 float scale = 1.0f );
InputPositionEnum
Enumeration for Input Operators.
Definition: glsutil.h:269
void ChangeHTexture(DisplayObject *obj, const float unit_movement, const float min_units, const float max_units, float units, const float starting_x)
double RampDouble(double time, double min, double max)
InputOrientationEnum
Enumeration for Input Operators.
Definition: glsutil.h:262
void ChangeNeedle(DisplayObject *obj, const float value, float gauge_values[][2], const int segments)
Rotates a needle on a non-linear scale Rotates a needle object to the degree amount determined by the...
The disti::DisplayObject class and global enumerations.
float Interpolate(const float value, float gauge_values[][2], const int segments)
Interpolates based on the specified array.
void ChangeVTexture(DisplayObject *obj, const float unit_movement, const float min_units, const float max_units, float units, const float starting_y)
Move a texture within an object to make the object appear to be moving in a Vertical direction...
bool RampBool(double time)
float AngularDistanceAbs(float angle1, float angle2)
int CalcSwitchPosDCS(DisplayObject *self, DisplayEvent *ev, InputOrientationEnum inputType, int numPositions, float scale=1.0f)
void GetDigits(int source, int *_1, int *_2=NULL, int *_3=NULL, int *_4=NULL, int *_5=NULL, int *_6=NULL, int *_7=NULL, int *_8=NULL)
void ChangeHStrip(DisplayObject *obj, float value, const float min, const float max, float refPt, const float locAtMin, const float locAtMax)
Moves an object horizontally based on the given values. Moves a digit strip horizontally to the locat...
float RampFloat(double time, float min, float max)
int RampInt(double time, int min, int max)
void ChangeVStrip(DisplayObject *obj, float value, const float min, const float max, const float refPt, const float locAtMin, const float locAtMax)
Moves an object vertically based on the given values. Moves a digit strip vertically to the location ...
float AngularDistance(float angle1, float angle2)
Definition: bmpimage.h:46