C
#define GetMaxX (DISP_HOR_RESOLUTION - 1)
Overview
Returns maximum horizontal coordinate.
Returns
Maximum horizontal coordinate.
Preconditions
none
Side Effects
none
Example
// Create a window that will occupy the whole screen. WndCreate(0xFF, // ID 0,0, GetMaxX(),GetMaxY(), // dimension WND_DRAW, // will be dislayed after creation (void*)&mchpIcon, // use icon used pText, // set to text pointed to by pText NULL); // use default scheme