1222
Appendix B: Global Variables — Display
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
ScrRect
Declaration:
SCR_RECT
ScrRect
Category(ies):
Display
Description:
Global SCR_RECT that defines the entire drawable screen area
(0, 0, MAX_X, W_MAX_Y).
Inputs:
None
Outputs:
None
Assumptions:
Access_AMS_Global_Variables must be defined.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
MAX_X, W_MAX_Y differ between the TI
-
89 and the TI
-
92 Plus.
See Also:
None
Example:
This code fragment redraws its window border using the entire drawable
screen area as a clipping region (even though it could use
&winPtr->Window).
Access_AMS_Global_Variables; /* needed to access ScrRect */
WINDOW *winPtr = &winMain;
.
.
.
DrawWinBorder( winPtr, &ScrRect );