User`s manual
134 RabbitCore RCM3400
This function initializes the window frame structure with the border and title information.
NOTE: Execute the TextWindowFrame function before using this function.
PARAMETERS
wPtr is a pointer to the window frame descriptor.
border is the border style:
SINGLE_LINE—The function will draw a single-line border around the text window.
DOUBLE_LINE—The function will draw a double-line border around the text window.
title is a pointer to the title information:
If a
NULL string is detected, then no title is written to the text menu.
If a string is detected, then it will be written center-aligned to the top of the text menu box.
RETURN VALUE
None.
SEE ALSO
TextBorder, TextGotoXY, TextPutChar, TextWindowFrame, TextCursorLocation
This function displays the border for a given window frame. This function will automatically adjust the
text window parameters to accommodate the space taken by the text border. This adjustment will only
occur once after the
TextBorderInit function executes.
NOTE: Execute the TextWindowFrame function before using this function.
PARAMETERS
wPtr is a pointer to the window frame descriptor.
RETURN VALUE
None.
SEE ALSO
TextBorderInit, TextGotoXY, TextPutChar, TextWindowFrame,
TextCursorLocation
void TextBorderInit(windowFrame *wPtr, int border,
char *title);
void TextBorder(windowFrame *wPtr);