99 GLS_EXPORT
void ChangeNeedle(DisplayObject *obj,
const float value,
float gauge_values[][2],
const int segments);
102 #define CLAMP_VALUE(val,min,max) ((val) < (min) ? (min) : ((val) > (max) ? (max) : (val)))
111 GLS_EXPORT
int RampInt(
double time,
int min,
int max);
118 GLS_EXPORT
bool RampBool(
double time);
127 GLS_EXPORT
float RampFloat(
double time,
float min,
float max);
136 GLS_EXPORT
double RampDouble(
double time,
double min,
double max);
156 GLS_EXPORT
float Interpolate(
const float value,
float gauge_values[][2],
const int segments);
170 GLS_EXPORT
void ChangeHStrip(DisplayObject *obj,
float value,
const float min,
const float max,
171 float refPt,
const float locAtMin,
const float locAtMax);
185 GLS_EXPORT
void ChangeVStrip(DisplayObject *obj,
float value,
const float min,
const float max,
186 const float refPt,
const float locAtMin,
const float locAtMax);
216 const float unit_movement,
217 const float min_units,
218 const float max_units,
220 const float starting_x
250 const float unit_movement,
251 const float min_units,
252 const float max_units,
254 const float starting_y
260 const float unit_movement,
261 const float min_units,
262 const float max_units,
264 const float *starting_y
277 INPUT_FLAG_NORMAL = 0,
278 INPUT_FLAG_SNAPBACK = 1,
279 INPUT_FLAG_WRAPAROUND = 2
InputPositionEnum
Enumeration for Input Operators.
Definition: glsutil.h:275
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:268
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