Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ form_f_attr(3x) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

forms(3X)





   form_field_attributes(3X)                         form_field_attributes(3X)


   NAME
         formfieldattributes:  setfieldfore, fieldfore, setfieldback,
         fieldback, setfieldpad, fieldpad - format the general display
         attributes of forms

   SYNOPSIS
         #include <form.h>

         int setfieldfore(FIELD *field, chtype attr);
         chtype fieldfore(FIELD *field);
         int setfieldback(FIELD *field, chtype attr);
         chtype fieldback(FIELD *field);
         int setfieldpad(FIELD *field, int pad);
         int fieldpad(FIELD *field);

   DESCRIPTION
         setfieldfore sets the foreground attribute of field.  The
         foreground attribute is the low-level curses display attribute used
         to display the field contents.  fieldfore returns the foreground
         attribute of field.

         setfieldback sets the background attribute of field.  The
         background attribute is the low-level curses display attribute used
         to display the extent of the field.  fieldback returns the
         background attribute of field.

         setfieldpad sets the pad character of field to pad.  The pad
         character is the character used to fill within the field.  fieldpad
         returns the pad character of field.

   RETURN VALUE
         fieldfore, fieldback and fieldpad return default values if field
         is NULL.  If field is not NULL and is not a valid FIELD pointer, the
         return value from these routines is undefined.

         setfieldfore, setfieldback and setfieldpad return one of the
         following:
         EOK           - The function returned successfully.
         ESYSTEMERROR - System error.
         EBADARGUMENT - An argument is incorrect.

   NOTES
         The header file <form.h> automatically includes the header files
         <eti.h> and <curses.h>.

   SEE ALSO
         curses(3X), forms(3X).






   7/91                                                                 Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026