EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

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 #1229 background imageLoading...
Page #1229 background image
Appendix A: System Routines — Windows
1187
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinRect
Declaration:
void
WinRect
(WINDOW *
w
, const WIN_RECT *
wRect
, BYTE
BoxAttr
)
Category(ies):
Windows
Description:
Draw a rectangle in a window. The values for
BoxAttr
are the same values
for drawing a line in a window (A_NORMAL, A_REVERSE, or A_XOR)
OR’d with one of the following values.
B_NORMAL Draw a normal rectangle.
B_DOUBLE Draw a double thick rectangle.
B_ROUNDED Draw a rectangle with rounded corners. (Dialog boxes
are drawn this way.)
B_CUT Draw a rectangle with the upper corners “cut”.
(Toolbars are drawn this way.)
Inputs:
w
WINDOW struct of a previously opened window.
wRect
WIN_RECT defining upper left (x0, y0) and lower right
(x1, y1) corners of rectangle.
BoxAttr
A_NORMAL, A_REVERSE, A_XOR OR’d with B_NORMAL,
B_DOUBLE, B_ROUNDED, or B_CUT.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
/* Draw 4 rectangles each using one of the 4 different box attributes. */
WinRect( &appW, MakeWinRect(5,5,90,50), A_NORMAL | B_NORMAL );
WinRect( &appW, MakeWinRect(10,10,85,45), A_NORMAL | B_DOUBLE );
WinRect( &appW, MakeWinRect(15,15,80,40), A_NORMAL | B_ROUNDED );
WinRect( &appW, MakeWinRect(20,20,75,35), A_NORMAL | B_CUT );

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