BtnGetBitmap Macro

Microchip Graphics Library

Microchip Graphics Library
BtnGetBitmap Macro
C
#define BtnGetBitmap(pB) ((BUTTON *)pB)->pBitmap
Overview

This macro returns the location of the currently used bitmap for the object.

Input Parameters
Input Parameters 
Description 
pB 
Pointer to the object. 
Returns

Returns the pointer to the current bitmap used.

Preconditions

none

Side Effects

none

Example
BUTTON *pButton;
BITMAP_FLASH *pUsedBitmap;

    pUsedbitmap = BtnGetBitmap(pButton);
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved