fgl_drawbox()
Draws a rectangle in the current window.
Syntax
fgl_drawbox(
height INTEGER,
width INTEGER,
posY INTEGER,
posX INTEGER,
color INTEGER )
- height is the height of the rectangle.
- width is the width of the rectangle.
- posY is the vertical coordinate (line) of the upper side of the rectangle.
- posX is the horizontal coordinate (column) of the left side of the rectangle.
- color is the color number (ignored).
Usage
The fgl_drawbox()
function draws a rectangle based on the character
terminal coordinates in the current open window.
Dimensions and coordinates are specified in grid cells unit (i.e. characters).
This function is provided for backward compatibility. A call to this function will be ignored if the current window is not SCREEN based. The function is supported to draw rectangles in text mode applications.