C
typedef struct { OBJ_HEADER hdr; SHORT radius; SHORT centerx; SHORT centery; SHORT valueS; SHORT prev_valueS; SHORT valueM; SHORT prev_valueM; SHORT valueH; SHORT prev_valueH; void * pBitmap; } ANALOGCLOCK;
Overview
Defines the parameters required for a clock Object. The following relationships of the parameters determines the general shape of the clock:
- centerx and centery determine the middle of the clock.
- radius defines the radius of the clock.
- *pBitmap points to the background image for the analog clock.
Members
Members |
Description |
OBJ_HEADER hdr; |
Generic header for all Objects (see OBJ_HEADER). |
SHORT radius; |
Radius of the clock. |
SHORT centerx; |
center location in X-axis. |
SHORT centery; |
center location in Y-axis. |
SHORT valueS; |
time in Second |
SHORT prev_valueS; |
previous time in Second |
SHORT valueM; |
time in Minute |
SHORT prev_valueM; |
previous time in Minute |
SHORT valueH; |
time in Hour |
SHORT prev_valueH; |
previous time in Hour |
void * pBitmap; |
Pointer to bitmap used. |