diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-11-19 17:38:06 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-11-19 17:38:06 -0500 |
commit | fa7009d5b59b8acd8071f7b3057d36eeeaf08146 (patch) | |
tree | ba88e9f448aed4c047d8ce311ba44c8731ee96c2 /scripts/lxdialog/dialog.h | |
parent | a06104af7dcf2f5bafaf18f373c8b2554cbfe014 (diff) |
kconfig: Add print_title helper in lxdialog
Simplify check for long title and use a helper function in util.c
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/lxdialog/dialog.h')
-rw-r--r-- | scripts/lxdialog/dialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lxdialog/dialog.h b/scripts/lxdialog/dialog.h index 3cf3d3526ef0..f882204cb3c2 100644 --- a/scripts/lxdialog/dialog.h +++ b/scripts/lxdialog/dialog.h | |||
@@ -145,6 +145,7 @@ void dialog_clear(void); | |||
145 | void color_setup(void); | 145 | void color_setup(void); |
146 | void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x); | 146 | void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x); |
147 | void print_button(WINDOW * win, const char *label, int y, int x, int selected); | 147 | void print_button(WINDOW * win, const char *label, int y, int x, int selected); |
148 | void print_title(WINDOW *dialog, const char *title, int width); | ||
148 | void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box, | 149 | void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box, |
149 | chtype border); | 150 | chtype border); |
150 | void draw_shadow(WINDOW * win, int y, int x, int height, int width); | 151 | void draw_shadow(WINDOW * win, int y, int x, int height, int width); |