summaryrefslogtreecommitdiff
path: root/extra/config/lxdialog/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra/config/lxdialog/dialog.h')
-rw-r--r--extra/config/lxdialog/dialog.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/config/lxdialog/dialog.h b/extra/config/lxdialog/dialog.h
index fd695e107..b5211fce0 100644
--- a/extra/config/lxdialog/dialog.h
+++ b/extra/config/lxdialog/dialog.h
@@ -26,6 +26,12 @@
#include <string.h>
#include <stdbool.h>
+#ifndef KBUILD_NO_NLS
+# include <libintl.h>
+#else
+# define gettext(Msgid) ((const char *) (Msgid))
+#endif
+
#ifdef __sun__
#define CURS_MACROS
#endif
@@ -187,9 +193,9 @@ int item_is_tag(char tag);
int on_key_esc(WINDOW *win);
int on_key_resize(void);
-void init_dialog(const char *backtitle);
-void reset_dialog(void);
-void end_dialog(void);
+int init_dialog(const char *backtitle);
+void set_dialog_backtitle(const char *backtitle);
+void end_dialog(int x, int y);
void attr_clear(WINDOW * win, int height, int width, chtype attr);
void dialog_clear(void);
void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);