104
Chapter 11: Creating the User Interface
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
11.2.2. Window Routines
The following is a complete list of all of the Window routines. It is split into two
sections: the main window routines and utility routines.
WinActivate
— Make a window the current active window.
WinAttr
— Set the attribute for the next write to a window.
WinBackground
— Change the current default attribute for the
background of a window.
WinBackupToScr
— Copy a window’s duplicate screen to the real screen.
WinBeginPaint
— Save the current screen state and set up the screen to
draw for the current window.
WinBitmapGet
— Retrieve a BITMAP from a window.
WinBitmapPut
— Store a BITMAP to a window.
WinBitmapSize
— Calculate the size of a BITMAP in a window.
WinBitmapSizeExt
— Calculate a BITMAP size including negative
coordinates.
WinChar
— Write a character at the current pen position.
WinCharXY
— Write a character to a specific location.
WinClose
— Close a window.
WinClr
— Clear a window.
WinDeactivate
— Deactivate a window, making the next window the
active window.
WinDupStat
— Enable/disable duplicate writes to a window (opened
with WF_DUP_SCR).
WinEllipse
— Draw an ellipse to a window.
WinEndPaint
— Restore the current screen state that was saved with
the corresponding
WinBeginPaint
.
WinFill
— Fill a region of a window.
WinFillTriangle
— Draw a filled triangle.
WinFont
— Change the font for a window.
WinHeight
— Return the height of a window’s client region.
WinHide
— Mark a window as not visible so that it is never
activated by the system.
WinHome
— Move the pen location for a window to the home
position.
WinLine
— Draw a line to a window.
WinLineExt
— Draw a line using the slower but more accurate
clipping code.
WinLineRel
— Draw a line relative to the current pen location.