EasyManua.ls Logo

Texas Instruments TI-89 - Drawwinborder

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1146
Appendix A: System Routines — Windows
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
DrawWinBorder
Declaration:
void
DrawWinBorder
(WINDOW *
w
, const SCR_RECT *
Clip
)
Category(ies):
Windows
Description:
Draw the border for a window including the title if one exists. If the
WF_ACTIVE flag is set in the WINDOW structure then draw a double
border, otherwise draw a single border. Borders are not drawn on full
screen windows.
Inputs:
w
Address of previously opened WINDOW structure.
Clip
Clipping rectangle (if none needed use &w.Window).
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: WinActivate, WinDeactivate
Example:
/* One of the things WinActivate does is set the given window to be active (and sets
the currently active window to inactive) then calls DrawWinBorder to redraw the
windows border.
*/
.
.
.
w->Flags |= WF_ACTIVE;
DrawWinBorder( w, &w->Window );
.
.
.
/* If an application must completely redraw its window (such as the example below
where it is using the WF_DUP_SCR feature of WinOpen), it must also redraw its
border
*/
case CM_WPAINT:
DrawWinBorder( &appW, &appW.Window );
WinBackupToScr( &appW );
break;

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals