aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libdialog/dialog.h
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-12-14 16:14:21 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-12-14 16:14:21 +0000
commitae5b2dcf867f5cd15cdcbbbed2cc2985416c8c71 (patch)
tree0339ac9a93a81373e63f60967bc7e8b041f657cc /gnu/lib/libdialog/dialog.h
parent89c1d5dcd91f756fcd5518a42c594243268519ae (diff)
Notes
Diffstat (limited to 'gnu/lib/libdialog/dialog.h')
-rw-r--r--gnu/lib/libdialog/dialog.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/lib/libdialog/dialog.h b/gnu/lib/libdialog/dialog.h
index 37f05af5e34d8..dace69e6d1d25 100644
--- a/gnu/lib/libdialog/dialog.h
+++ b/gnu/lib/libdialog/dialog.h
@@ -50,6 +50,9 @@
#define DITEM_RESTORE (1 << 19)
#define DITEM_CONTINUE (1 << 20)
+/* Attributes as used by entry fields right now */
+#define DITEM_NO_ECHO 0x0001
+
/* negative offsets for buttons in item lists, if specified */
#define OK_BUTTON -2
@@ -77,7 +80,7 @@ typedef struct _dmenu_item {
#define FALSE (0)
#endif
-extern int DialogX, DialogY;
+extern int DialogX, DialogY, DialogInputAttrs;
/*
* Attribute names
@@ -122,7 +125,7 @@ extern bool use_shadow;
void draw_shadow(WINDOW *win, int y, int x, int height, int width);
#endif
void draw_box(WINDOW *win, int y, int x, int height, int width, chtype box, chtype border);
-int line_edit(WINDOW *dialog, int box_y, int box_x, int flen, int box_width, chtype attrs, int first, unsigned char *result);
+int line_edit(WINDOW *dialog, int box_y, int box_x, int flen, int box_width, chtype attrs, int first, unsigned char *result, int attr_mask);
int strheight(const char *p);
int strwidth(const char *p);