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 #1191 background imageLoading...
Page #1191 background image
Appendix A: System Routines — Windows
1149
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
ScrToWin
Declaration:
WIN_RECT *
ScrToWin
(const SCR_RECT *
sr
)
Category(ies):
Windows
Description:
Convert a SCR_RECT structure to a WIN_RECT (return a pointer to
statically allocated data!).
Inputs:
sr
SCR_RECT to convert to WIN_RECT.
Outputs:
Pointer to a statically allocated WIN_RECT (make a copy if a permanent
version is needed — see example below).
Assumptions:
The address of the WIN_RECT returned is statically allocated and so
cannot be shared.
Side Effects:
Note that WIN_RECTs and SCR_RECTs are not the same. WIN_RECTs
are based on unsigned short values (WINDOW coordinates) whereas
SCR_RECTs are based on BYTE values (screen coordinates).
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
WIN_RECT wr;
WINDOW Win;
memcpy(&wr, ScrToWin(&Win->Client), sizeof(WIN_RECT) );
WinScrollV( &Win, &wr, -V_SCROLL );

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