Winopen - 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

WinOpen

Declaration:
BOOL WinOpen (WINDOW * w , const WIN_RECT * wRegion ,
WORD Flags , . . . )
Category(ies):
Windows
Description:
Open a new window, initializing all fields of the WINDOW structure. Link
this window into the current list of windows as the topmost window.
Inputs:
w
wRegion — Screen coordinates of window's region.
Flags
Outputs:
TRUE if window successfully opened, FALSE if not enough memory
(WF_DUP_SCR or WF_SAVE_SCR) or wRegion contains invalid window
coordinates.
TI-89 / TI-92 Plus Developer Guide
— Address of a WINDOW struct.
— Flags may be set as follow (note that WF_SAVE_SCR and
WF_DUP_SCR are mutually exclusive).
WF_SAVE_SCR
Save the screen region underneath the window (restore
it when the window is closed). Return FALSE if not
enough memory to allocate a save buffer.
WF_DUP_SCR
Keep a duplicate copy of all data written to the window.
Return FALSE if not enough memory to allocate a save
buffer.
WF_TTY
Write characters in TTY mode (translate '\n', '\r' to
newline, '\f' to clear screen, and wrap at end of lines).
WF_TITLE
Pointer to title follows Flags as optional argument.
WF_VIRTUAL
Must also set WF_DUP_SCR, no writes to actual LCD
are done only writes to DUP_SCR.
WF_NOBORDER
Do not draw border for window.
WF_ROUNDEDBORDER
Draw a rounded border (like dialog boxes).
(continued)
Not for Distribution
1183
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