Functions | |
| D4D_ICON_INDEX | D4D_IconGetBmpCount (D4D_OBJECT_PTR pThis) |
| Function returns the icon bitmap count. More... | |
| void | D4D_IconSetIndex (D4D_OBJECT_PTR pThis, D4D_ICON_INDEX index) |
| Function sets the new bitmap of icon by icon index. More... | |
| void | D4D_IconChangeIndex (D4D_OBJECT_PTR pThis, sByte incr) |
| Function sets the new bitmap of icon by icon index difference. More... | |
| D4D_ICON_INDEX | D4D_IconGetIndex (D4D_OBJECT_PTR pThis) |
| Function returns current visible bitmap index. More... | |
| void | D4D_IconAnimationStart (D4D_OBJECT_PTR pThis) |
| Function starts the animation of icon. More... | |
| void | D4D_IconAnimationStop (D4D_OBJECT_PTR pThis) |
| Function stops the animation of icon. More... | |
| void | D4D_IconAnimationSetCounts (D4D_OBJECT_PTR pThis, Word cnt) |
| Function sets the time tick tresholds for animation speed. More... | |
This section specifies the exact usage for each API function.
| void D4D_IconAnimationSetCounts | ( | D4D_OBJECT_PTR | pThis, |
| Word | cnt | ||
| ) |
Function sets the time tick tresholds for animation speed.
| pThis | - pointer to the icon object that should be sets. |
| cnt | - count of time ticks to change the bitmap |
Definition at line 258 of file d4d_icon.c.
| void D4D_IconAnimationStart | ( | D4D_OBJECT_PTR | pThis | ) |
Function starts the animation of icon.
| pThis | - pointer to the icon object that should be sets. |
Definition at line 221 of file d4d_icon.c.
| void D4D_IconAnimationStop | ( | D4D_OBJECT_PTR | pThis | ) |
Function stops the animation of icon.
| pThis | - pointer to the icon object that should be sets. |
Definition at line 241 of file d4d_icon.c.
| void D4D_IconChangeIndex | ( | D4D_OBJECT_PTR | pThis, |
| sByte | incr | ||
| ) |
Function sets the new bitmap of icon by icon index difference.
| pThis | - pointer to the icon object that should be sets. |
| incr | - sign value for compute of new bitmap index relative to current one |
Definition at line 189 of file d4d_icon.c.
| D4D_ICON_INDEX D4D_IconGetBmpCount | ( | D4D_OBJECT_PTR | pThis | ) |
Function returns the icon bitmap count.
| pThis | - pointer to the icon object that should be sets. |
Definition at line 136 of file d4d_icon.c.
| D4D_ICON_INDEX D4D_IconGetIndex | ( | D4D_OBJECT_PTR | pThis | ) |
Function returns current visible bitmap index.
| pThis | - pointer to the icon object that should be sets. |
Definition at line 206 of file d4d_icon.c.
| void D4D_IconSetIndex | ( | D4D_OBJECT_PTR | pThis, |
| D4D_ICON_INDEX | index | ||
| ) |
Function sets the new bitmap of icon by icon index.
| pThis | - pointer to the icon object that should be sets. |
| index | - index of new bitmpa that should be shown |
Definition at line 157 of file d4d_icon.c.