summaryrefslogtreecommitdiff
path: root/gnu/lib/libdialog/ui_objects.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-04-20 17:39:37 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-04-20 17:39:37 +0000
commit7f6e7c13b5e6b14351cd46a41d249bff657c2527 (patch)
tree704f5dc77611312a174a02ade2261d68f64fe0c2 /gnu/lib/libdialog/ui_objects.h
parent072506ba00189ac9c6ffa15033ca64a65c0e038c (diff)
Notes
Diffstat (limited to 'gnu/lib/libdialog/ui_objects.h')
-rw-r--r--gnu/lib/libdialog/ui_objects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/ui_objects.h b/gnu/lib/libdialog/ui_objects.h
index 59f4ae9fef34..3b0a544250ba 100644
--- a/gnu/lib/libdialog/ui_objects.h
+++ b/gnu/lib/libdialog/ui_objects.h
@@ -59,6 +59,7 @@ typedef struct {
WINDOW *win; /* the windows it's contained in */
char *title; /* the title of the list */
char **name; /* the names of the list */
+ int *seld; /* the currently selected names */
char *elt; /* the current element in the list list[sel] */
int x, y, w, h, n; /* dimensions of list and # of elements (n) */
int scroll, sel; /* current position in the list */
@@ -95,6 +96,9 @@ ListObj *NewListObj(WINDOW *win, char *title, char **list,
void UpdateListObj(ListObj *lo, char **list, int n);
int SelectListObj(ListObj *lo);
void DelListObj(ListObj *obj);
+void MarkCurrentListObj(ListObj *lo);
+void MarkAllListObj(ListObj *lo);
+void UnMarkAllListObj(ListObj *lo);
void RefreshButtonObj(ButtonObj *bo);
ButtonObj *NewButtonObj(WINDOW *win, char *title, int *pushed,