C
#define BtnSetBitmap(pB, pBtmap) ((BUTTON *)pB)->pBitmap = pBtmap
Overview
This macro sets the bitmap used in the object. The size of the bitmap must match the face of the button.
Input Parameters
Input Parameters |
Description |
pB |
Pointer to the object. |
pBitmap |
Pointer to the bitmap to be used. |
Returns
none
Preconditions
none
Side Effects
none
Example
extern BITMAP_FLASH myIcon;
BUTTON *pButton;
BtnSetBitmap(pButton , &myIcon);