C
typedef struct { OBJ_HEADER hdr; SHORT xCenter; SHORT yCenter; SHORT radius; SHORT value; WORD max; WORD res; SHORT curr_xPos; SHORT curr_yPos; SHORT new_xPos; SHORT new_yPos; SHORT vAngle; } ROUNDDIAL;
Overview
Defines the parameters required for a dial Object. The curr_xPos, curr_yPos, new_xPos and new_yPos parameters are internally generated to aid in the redrawing of the dial. User must avoid modifying these values.
Members
Members |
Description |
OBJ_HEADER hdr; |
Generic header for all Objects (see OBJ_HEADER). |
SHORT xCenter; |
x coordinate center position. |
SHORT yCenter; |
y coordinate center position. |
SHORT radius; |
Radius of the dial. |
SHORT value; |
Initial value of the dial. |
WORD max; |
Maximum value of variable value (maximum = 65535). |
WORD res; |
Resolution of movement. |
SHORT curr_xPos; |
Current x position. |
SHORT curr_yPos; |
Current y position. |
SHORT new_xPos; |
New x position. |
SHORT new_yPos; |
New y position. |