summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/ui_objects.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-04-20 17:39:37 +0000
committerache <ache@FreeBSD.org>1995-04-20 17:39:37 +0000
commit64d059015a846d87cebe34d7ab5c1c60826bc78b (patch)
tree704f5dc77611312a174a02ade2261d68f64fe0c2 /gnu/lib/libdialog/ui_objects.h
parent936b7c1314ac293785af1174e3070079001615ba (diff)
downloadFreeBSD-src-64d059015a846d87cebe34d7ab5c1c60826bc78b.zip
FreeBSD-src-64d059015a846d87cebe34d7ab5c1c60826bc78b.tar.gz
Upgrade.
Submitted by: Marc van Kempen <wmbfmk@urc.tue.nl>
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 59f4ae9..3b0a544 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,
OpenPOWER on IntegriCloud