C
GOL_SCHEME * GOLCreateScheme();
Overview
This function creates a new style scheme object and initializes the parameters to default values. Default values are based on the GOLSchemeDefault defined in GOLSchemeDefault.c file. Application code can override this initialization, See GOLSchemeDefault.
Returns
Pointer to the new GOL_SCHEME created.
Preconditions
none
Side Effects
none
Example
extern const char Font22[] __attribute__((aligned(2))); extern const char Font16[] __attribute__((aligned(2))); GOL_SCHEME *pScheme1, *pScheme2; pScheme1 = GOLCreateScheme(); pScheme2 = GOLCreateScheme(); pScheme1->pFont = (BYTE*)Font22; pScheme2->pFont = (BYTE*)Font16;