This section specifies the exact usage for each API function.
Function sets the time tick tresholds for animation speed.
- Parameters
-
pThis | - pointer to the icon object that should be sets. |
cnt | - count of time ticks to change the bitmap |
- Returns
- none
- Note
- The speed of animation is done by period of D4D 1 / (time ticks * count of treshold)
Definition at line 258 of file d4d_icon.c.
Function starts the animation of icon.
- Parameters
-
pThis | - pointer to the icon object that should be sets. |
- Returns
- none
- Note
- In fact starts periodic changes of ICON bitmap, time is specified by D4D Time Ticks and defined ticks treshold.
Definition at line 221 of file d4d_icon.c.
Function stops the animation of icon.
- Parameters
-
pThis | - pointer to the icon object that should be sets. |
- Returns
- none
- Note
- In fact stops periodic changes of ICON bitmap, time is specified by D4D Time Ticks and defined ticks treshold.
Definition at line 241 of file d4d_icon.c.
Function sets the new bitmap of icon by icon index difference.
- Parameters
-
pThis | - pointer to the icon object that should be sets. |
incr | - sign value for compute of new bitmap index relative to current one |
- Returns
- none
- Note
- none
Definition at line 189 of file d4d_icon.c.
Function returns the icon bitmap count.
- Parameters
-
pThis | - pointer to the icon object that should be sets. |
- Returns
- count of icon bitmaps
- Note
- none
Definition at line 136 of file d4d_icon.c.
Function returns current visible bitmap index.
- Parameters
-
pThis | - pointer to the icon object that should be sets. |
- Returns
- index of current visible index
- Note
- none
Definition at line 206 of file d4d_icon.c.
Function sets the new bitmap of icon by icon index.
- Parameters
-
pThis | - pointer to the icon object that should be sets. |
index | - index of new bitmpa that should be shown |
- Returns
- none
- Note
- none
Definition at line 157 of file d4d_icon.c.