Winclr - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Windows

WinClr

Declaration:
void WinClr (WINDOW * w )
Category(ies):
Windows
Description:
Clear the client area of the current window (using the current clip region).
Reset the current x, y position to the home of the client region. The current
background attribute is used to fill the client area.
Inputs:
w — WINDOW struct of a previously opened window.
Outputs:
None
Assumptions:
The default background attribute is A_REVERSE (clear). A_NORMAL
produces a solid background. A_XOR keeps what is on the screen but flips
every bit.
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
None
Differences:
See Also:
WinBackground. See WinFill to clear specific regions.
Example:
WinStr( &w, "TEST STRING" );
WinBackground( &w, A_XOR );
WinClr( &w );
/* reverse entire window (including existing images) */
ngetchx();
/* wait for user */
WinBackground( &w, A_REVERSE );
WinClr( &w );
/* normal clear window */
TI-89 / TI-92 Plus Developer Guide
/* back to white background (default) */
Not for Distribution
1165
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents