diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-11-19 23:38:06 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-11-19 23:38:06 +0100 |
commit | fa7009d5b59b8acd8071f7b3057d36eeeaf08146 (patch) | |
tree | ba88e9f448aed4c047d8ce311ba44c8731ee96c2 /scripts/lxdialog/dialog.h | |
parent | a06104af7dcf2f5bafaf18f373c8b2554cbfe014 (diff) | |
download | op-kernel-dev-fa7009d5b59b8acd8071f7b3057d36eeeaf08146.zip op-kernel-dev-fa7009d5b59b8acd8071f7b3057d36eeeaf08146.tar.gz |
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 3cf3d35..f882204 100644 --- a/scripts/lxdialog/dialog.h +++ b/scripts/lxdialog/dialog.h @@ -145,6 +145,7 @@ void dialog_clear(void); void color_setup(void); void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x); void print_button(WINDOW * win, const char *label, int y, int x, int selected); +void print_title(WINDOW *dialog, const char *title, int width); void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box, chtype border); void draw_shadow(WINDOW * win, int y, int x, int height, int width); |