bg_filldef()

Defines a fill region on a form

Call  
#include <vv_form.h>
BG_FILLPTR bg_filldef(wn_rb, wn_cb, rowq, colq, att, fmp)

int wn_rb

Starting a row in the form window of the region

int wn_cb Starting a column in the form window of the region
int rowq Number of rows in the region
int colq Number of columns in the region
UCHAR att Video attribute of the region
FORMPTR fmp Pointer to form to place fill region
Returns  
POINTER A pointer to the BG_FILL structure for the region is returned.
NULLP Error. VV_ERR is set to the following:
  MEMLACK Insufficient memory is available to allocate a background fill item  
Description

bg_filldef() allocates memory for a new node in the linked list of background items for the form. The structure members for the background fill structure are initialized to the values specified in the call.

Related Functions

bg_boxdef(), bg_linedef(), bg_txtdef()


Home Contents Previous Next