GOLGetScheme Macro

Microchip Graphics Library

Microchip Graphics Library
GOLGetScheme Macro
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);
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved