summaryrefslogtreecommitdiffstats
path: root/contrib/dialog/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dialog/dialog.h')
-rw-r--r--contrib/dialog/dialog.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/dialog/dialog.h b/contrib/dialog/dialog.h
index a255f03..1a6b0f7 100644
--- a/contrib/dialog/dialog.h
+++ b/contrib/dialog/dialog.h
@@ -1,5 +1,5 @@
/*
- * $Id: dialog.h,v 1.260 2013/03/17 15:03:41 tom Exp $
+ * $Id: dialog.h,v 1.267 2013/09/22 19:06:36 tom Exp $
*
* dialog.h -- common declarations for all dialog modules
*
@@ -445,6 +445,8 @@ typedef struct {
/* 1.1-20110106 */
bool no_mouse; /* option "--no-mouse" */
int visit_cols; /* option "--visit-items" */
+ /* 1.2-20130922 */
+ bool finish_string; /* caching optimization for gauge */
} DIALOG_STATE;
extern DIALOG_STATE dialog_state;
@@ -522,6 +524,8 @@ typedef struct {
bool no_items; /* option "--no-items" */
/* 1.2-20130315 */
bool last_key; /* option "--last-key" */
+ /* 1.2-20130902 */
+ bool help_tags; /* option "--help-tags" */
} DIALOG_VARS;
#define USE_ITEM_HELP(s) (dialog_vars.item_help && (s) != 0)
@@ -687,6 +691,7 @@ extern void dlg_free_formitems(DIALOG_FORMITEM * /*items*/);
/* guage.c */
extern void * dlg_allocate_gauge(const char * /* title */, const char * /* cprompt */, int /* height */, int /* width */, int /* percent */);
+extern void * dlg_reallocate_gauge(void * /* objptr */, const char * /* title */, const char * /* cprompt */, int /* height */, int /* width */, int /* percent */);
extern void dlg_free_gauge(void * /* objptr */);
extern void dlg_update_gauge(void * /* objptr */, int /* percent */);
@@ -699,6 +704,7 @@ extern int dlg_count_wchars(const char * /*string*/);
extern int dlg_edit_offset(char * /*string*/, int /*offset*/, int /*x_last*/);
extern int dlg_find_index(const int * /*list*/, int /*limit*/, int /*to_find*/);
extern int dlg_limit_columns(const char * /*string*/, int /*limit*/, int /*offset*/);
+extern void dlg_finish_string(const char * /* string */);
extern void dlg_show_string(WINDOW * /*win*/, const char * /*string*/, int /*offset*/, chtype /*attr*/, int /*y_base*/, int /*x_base*/, int /*x_last*/, bool /*hidden*/, bool /*force*/);
/* menubox.c */
@@ -749,6 +755,8 @@ extern int dlg_defaultno_button(void);
extern int dlg_default_button(void);
extern int dlg_max_input(int /*max_len*/);
extern int dlg_print_scrolled(WINDOW * /* win */, const char * /* prompt */, int /* offset */, int /* height */, int /* width */, int /* pauseopt */);
+extern void dlg_add_help_formitem(int * /* result */, char ** /* tag */, DIALOG_FORMITEM * /* item */);
+extern void dlg_add_help_listitem(int * /* result */, char ** /* tag */, DIALOG_LISTITEM * /* item */);
extern void dlg_add_quoted(char * /*string*/);
extern void dlg_add_result(const char * /*string*/);
extern void dlg_add_separator(void);
OpenPOWER on IntegriCloud