EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1190 background imageLoading...
Page #1190 background image
1148
Appendix A: System Routines — Windows
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
MakeWinRect
Declaration:
WIN_RECT *
MakeWinRect
(SWORD
x0
, SWORD
y0
, SWORD
x1
,
SWORD
y1
)
Category(ies):
Windows
Description:
Given the upper left and lower right coordinates of a window return a
pointer to a static WIN_RECT structure with those coordinates.
Inputs:
x0
,
y0
Upper left coordinates of WIN_RECT.
x1
,
y1
Lower right coordinates of WIN_RECT.
Outputs:
Pointer to a statically allocated WIN_RECT (make a copy if a permanent
version is needed).
Assumptions:
The address of the WIN_RECT returned is statically allocated and so
cannot be shared.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: MakeScrRect
Example:
See
SetWinClip
for an example where a copy is not made.
/* Create a WIN_RECT with MakeWinRect and save a copy in 'wr'. Without the memcpy
we would be using a statically allocated WIN_RECT that would be overwritten on
the next call to MakeWinRect.
*/
WIN_RECT wr;
memcpy(&wr, MakeWinRect(W_MIN_X,W_MIN_Y,W_MAX_X,W_MAX_Y), sizeof(WIN_RECT) );

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals