C
#define GOLGetScheme(pObj) ((OBJ_HEADER *)pObj)->pGolScheme
Overview
This macro gets the GOL scheme used by the given object.
Input Parameters
Input Parameters |
Description |
pObj |
Pointer to the object of interest. |
Returns
Returns the style scheme used by the given object.
Preconditions
none
Side Effects
none
Example
GOL_SCHEME *pScheme2; BUTTON *pButton; // assume button is created and initialized // get the scheme assigned to pButton pScheme2 = GOLGetScheme(pButton);