100#define CLAMP_VALUE( val, min, max ) ( ( val ) < ( min ) ? ( min ) : ( ( val ) > ( max ) ? ( max ) : ( val ) ) )
169 float refPt,
const float locAtMin,
const float locAtMax );
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
279 INPUT_FLAG_NORMAL = 0,
280 INPUT_FLAG_SNAPBACK = 1,
281 INPUT_FLAG_WRAPAROUND = 2
The disti::DisplayObject class and global enumerations.
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
float AngularDistance(float angle1, float angle2)
bool RampBool(double time)
InputPositionEnum
Enumeration for Input Operators.
Definition: glsutil.h:278
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...
float RampFloat(double time, float min, float max)
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...
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 ...
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 ChangeHTexture(DisplayObject *obj, const float unit_movement, const float min_units, const float max_units, float units, const float starting_x)
int RampInt(double time, int min, int max)
int CalcSwitchPosDCS(DisplayObject *self, DisplayEvent *ev, InputOrientationEnum inputType, int numPositions, float scale=1.0f)
double RampDouble(double time, double min, double max)
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....
InputOrientationEnum
Enumeration for Input Operators.
Definition: glsutil.h:271
float Interpolate(const float value, float gauge_values[][2], const int segments)
Interpolates based on the specified array.
float AngularDistanceAbs(float angle1, float angle2)