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 #89 background imageLoading...
Page #89 background image
Chapter 7: Flash Application Layout
47
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
if (box.y0 < 0)
deltaY = sabs(deltaY);
if (box.y1 > height)
deltaY = -sabs(deltaY);
WinFill(&w, &box, A_REVERSE);
WinRect(&w, &box, A_NORMAL);
box.x0 += deltaX;
box.x1 += deltaX;
box.y0 += deltaY;
box.y1 += deltaY;
boxcount -= 1;
break;
case CM_ACTIVATE:
DrawWinBorder(&w, &w.Window);
EV_defaultHandler(event);
break;
case CM_WPAINT:
WinBackupToScr(&w);
break;
default:
EV_defaultHandler(event);
break;
}
}
static short sabs(short n)
{
return n < 0 ? -n : n;
}
static short random(short low, short high)
{
short range;
static long seed = 29;
if (seed == 0)
seed = 1;
seed *= 16807;
if (seed < 0)
seed = -seed;

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