diff options
author | jkh <jkh@FreeBSD.org> | 1995-12-23 01:10:20 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-12-23 01:10:20 +0000 |
commit | 09146e9c1750da0657ec2e041746780122965368 (patch) | |
tree | 1f083fecc7699ff2bdf6524e7e1c82763c466a1e /gnu/lib/libdialog/dialog.priv.h | |
parent | e7d9236adaebb9ec46c615b1bcee2a0674c5e7e7 (diff) | |
download | FreeBSD-src-09146e9c1750da0657ec2e041746780122965368.zip FreeBSD-src-09146e9c1750da0657ec2e041746780122965368.tar.gz |
Add changes to:
o Support a new, fully backwards-compatible API for controling
individual items in dialog menus.
o Write a man page.
o Add some test code.
Diffstat (limited to 'gnu/lib/libdialog/dialog.priv.h')
-rw-r--r-- | gnu/lib/libdialog/dialog.priv.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/lib/libdialog/dialog.priv.h b/gnu/lib/libdialog/dialog.priv.h index d84dc39..9d32f65 100644 --- a/gnu/lib/libdialog/dialog.priv.h +++ b/gnu/lib/libdialog/dialog.priv.h @@ -30,6 +30,7 @@ #include <locale.h> #endif + /* * Change these if you want */ @@ -163,13 +164,15 @@ extern int parse_rc(void); #ifdef HAVE_NCURSES void color_setup(void); #endif + void attr_clear(WINDOW *win, int height, int width, chtype attr); -void print_autowrap(WINDOW *win, unsigned char *prompt, int height, int width, int maxwidth, int y, int x, int center, int rawmode); +void print_autowrap(WINDOW *win, unsigned char *prompt, int height, int width, int maxwidth, + int y, int x, int center, int rawmode); void print_button(WINDOW *win, unsigned char *label, int y, int x, int selected); FILE *raw_popen(const char *program, char * const *argv, const char *type); int raw_pclose(FILE *iop); void display_helpfile(void); void display_helpline(WINDOW *w, int y, int width); -void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no, - int box_x, int box_y, int tag_x, int cur_x, int cur_y); +void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no, int box_x, + int box_y, int tag_x, int cur_x, int cur_y); |