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 #1199 background imageLoading...
Page #1199 background image
Appendix A: System Routines — Windows
1157
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinBitmapGet
(continued)
Example:
short x, y, i;
WINDOW w1;
WIN_RECT r1 = {119,0,239,119}, r2 = {72,16,89,39};
BITMAP *Bitmap;
HANDLE h;
char Str[20];
if (WinOpen( &w1, &r1, WF_DUP_SCR )) {
WinActivate( &w1 );
WinClr( &w1 );
Str[18] = '\0';
for( i = 0; i <= 9; i++) {
memset( Str, '0' + i, 18 );
WinStrXY( &w1, 6, i*8+8, Str );
}
if ((h = HeapAlloc(WinBitmapSize(&w1,&r2))) != H_NULL) {
Bitmap = (BITMAP *) HeapDeref(h);
WinBitmapGet( &w1, &r2, Bitmap );
for (x = 12, y = 72; x <= 138; x += 18, y += 8)
WinBitmapPut( &w1, x, y, Bitmap, A_REPLACE );
HeapFree( h );
GKeyIn(NULL,0);
}
WinClose( &w1 );
}

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