diff options
author | C. Davis <cd.rattan@gmail.com> | 2012-08-10 20:05:20 -0700 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-04-29 13:06:20 +0200 |
commit | 58f9e368c8366bba103ae9214638cc4c99fe4caf (patch) | |
tree | 71cd6b23a7a47cbb2c26400dc9664734a6d57215 /source3/utils/regedit_valuelist.h | |
parent | 560003fcd98eb109dd8391c7975aae4ef277604b (diff) | |
download | samba-58f9e368c8366bba103ae9214638cc4c99fe4caf.tar.gz samba-58f9e368c8366bba103ae9214638cc4c99fe4caf.tar.bz2 samba-58f9e368c8366bba103ae9214638cc4c99fe4caf.zip |
regedit: Handle term resizes.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils/regedit_valuelist.h')
-rw-r--r-- | source3/utils/regedit_valuelist.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/utils/regedit_valuelist.h b/source3/utils/regedit_valuelist.h index 5d5399905c..2923e98964 100644 --- a/source3/utils/regedit_valuelist.h +++ b/source3/utils/regedit_valuelist.h @@ -23,6 +23,7 @@ #include "includes.h" #include <ncurses.h> #include <menu.h> +#include <panel.h> struct registry_key; @@ -35,15 +36,17 @@ struct value_item { struct value_list { WINDOW *window; - WINDOW *sub_window; + PANEL *panel; MENU *menu; ITEM **items; ITEM **empty; } ; -struct value_list *value_list_new(TALLOC_CTX *ctx, WINDOW *orig, int nlines, - int ncols, int begin_y, int begin_x); +struct value_list *value_list_new(TALLOC_CTX *ctx, int nlines, int ncols, + int begin_y, int begin_x); void value_list_show(struct value_list *vl); WERROR value_list_load(struct value_list *vl, struct registry_key *key); +void value_list_resize(struct value_list *vl, int nlines, int ncols, + int begin_y, int begin_x); #endif |