summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/ui_objects.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-12-14 16:14:21 +0000
committerjkh <jkh@FreeBSD.org>1996-12-14 16:14:21 +0000
commitf3966ba4dba2930bf641566bbca8a2c295ac3832 (patch)
tree0339ac9a93a81373e63f60967bc7e8b041f657cc /gnu/lib/libdialog/ui_objects.h
parent0d930771c96111302a7452571de004b04afae4cc (diff)
downloadFreeBSD-src-f3966ba4dba2930bf641566bbca8a2c295ac3832.zip
FreeBSD-src-f3966ba4dba2930bf641566bbca8a2c295ac3832.tar.gz
Add another hateful global to libdialog (what the heck, there are already
so many). For now, the only extended attribute implemented is NO ECHO, useful for things like passwords. See TESTS/input2.c for an example. This should go into 2.2.
Diffstat (limited to 'gnu/lib/libdialog/ui_objects.h')
-rw-r--r--gnu/lib/libdialog/ui_objects.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/ui_objects.h b/gnu/lib/libdialog/ui_objects.h
index db9a12c..b30feb8 100644
--- a/gnu/lib/libdialog/ui_objects.h
+++ b/gnu/lib/libdialog/ui_objects.h
@@ -53,6 +53,7 @@ typedef struct {
int x, y, w, len; /* the (y, x) position of the upperleft */
/* corner and the width <w> of the display */
/* and length <len> of the field */
+ int attr_mask; /* special attributes */
} StringObj;
typedef struct {
OpenPOWER on IntegriCloud