1194
WinStr
(continued)
Example:
The above image was created from the example below.
short i;
WinClr(&appW);
WinFont( &appW, F_8x10 );
for (i = 5; i <= 45; i += 10)
WinLine( &appW, MakeWinRect( 0, i, 90, i ) );
WinAttr( &appW, A_NORMAL );
WinAttr( &appW, A_REPLACE ); WinMoveRel( &appW, -48, 10 ); WinStr( &appW, "REPLACE" );
/* x parm to WinMoveRel is negative since current pen position is at end of previous
string */
WinAttr( &appW, A_REVERSE ); WinStrXY( &appW, 16, 20, "REVERSE" );
WinAttr( &appW, A_SHADED
WinAttr( &appW, A_XOR
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Windows
WinMoveTo( &appW, 16, 0 ); WinStr( &appW, "NORMAL" );
); WinStrXY( &appW, 16, 30, "SHADED" );
); WinStrXY( &appW, 16, 40, "ATTR XOR" );
Not for Distribution
Beta Version January 26, 2001