Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ form_f_attr(3X) — Amiga System V Release 4 Version 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

forms(3X)



form_field_attribM
u
I
t
S
e
C
s
(
E
3
L
L
X
)
A
NEOUS LIBRARY FU
f
N
o
C
r
T
m
IO
f
N
i
S
e
ld_attributes(3X) NAME formfieldattributes: setfieldfore, fieldfore, setfieldback, fieldback, setfieldpad, fieldpad - for- mat 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 attri- bute 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 attri- bute 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 unde- fined. setfieldfore, setfieldback and setfieldpad return one of the following: E_OK - The function returned successfully. E_SYSTEM_ERROR - System error. E_BAD_ARGUMENT - 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). Last change: 1

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