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

WinHeight

Declaration:
WIN_COORDS WinHeight (WINDOW * w )
Category(ies):
Windows
Description:
Return the height of the client (drawable) area of a window.
Inputs:
w — WINDOW struct of a previously opened window.
Outputs:
Height of window's client region.
Assumptions:
The window region is the region that was defined when the window was
created with WinOpen. If the window is full screen (not counting the status
bar which may not be overlapped), then the client region is equal to the
window region. The client region is reduced by adding borders or a title to a
window.
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
None
Differences:
See Also:
WinOpen, WinWidth
Example:
/* This example uses the width and height of its window (appW) so that it can
fill the entire window with the letter 'A'. */
WIN_COORDS wWidth, wHeight, y;
wWidth = WinWidth( &appW );
wHeight = WinHeight( &appW );
WinClr( &appW );
WinFont( &appW, F_6x8 );
for (y = 0; y <= wHeight - 8; y += 8 )
WinCharXY( &appW, 0, y, 'A', (wWidth / 6) );
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
1173
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