Deleted Added
full compact
dialog.priv.h (8858) dialog.priv.h (12983)
1/*
2 * dialog.h -- common declarations for all dialog modules
3 *
4 * AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 16 unchanged lines hidden (view full) ---

25#include <ctype.h>
26#include <stdlib.h>
27#include <string.h>
28
29#if defined(LOCALE)
30#include <locale.h>
31#endif
32
1/*
2 * dialog.h -- common declarations for all dialog modules
3 *
4 * AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 16 unchanged lines hidden (view full) ---

25#include <ctype.h>
26#include <stdlib.h>
27#include <string.h>
28
29#if defined(LOCALE)
30#include <locale.h>
31#endif
32
33
33/*
34 * Change these if you want
35 */
36#define USE_SHADOW TRUE
37#define USE_COLORS TRUE
38
39#define ESC 27
40#define TAB 9

--- 117 unchanged lines hidden (view full) ---

158#endif /* __DIALOG_MAIN__ */
159
160#endif
161
162
163#ifdef HAVE_NCURSES
164void color_setup(void);
165#endif
34/*
35 * Change these if you want
36 */
37#define USE_SHADOW TRUE
38#define USE_COLORS TRUE
39
40#define ESC 27
41#define TAB 9

--- 117 unchanged lines hidden (view full) ---

159#endif /* __DIALOG_MAIN__ */
160
161#endif
162
163
164#ifdef HAVE_NCURSES
165void color_setup(void);
166#endif
167
166void attr_clear(WINDOW *win, int height, int width, chtype attr);
168void attr_clear(WINDOW *win, int height, int width, chtype attr);
167void print_autowrap(WINDOW *win, unsigned char *prompt, int height, int width, int maxwidth, int y, int x, int center, int rawmode);
169void print_autowrap(WINDOW *win, unsigned char *prompt, int height, int width, int maxwidth,
170 int y, int x, int center, int rawmode);
168void print_button(WINDOW *win, unsigned char *label, int y, int x, int selected);
169FILE *raw_popen(const char *program, char * const *argv, const char *type);
170int raw_pclose(FILE *iop);
171void display_helpfile(void);
172void display_helpline(WINDOW *w, int y, int width);
171void print_button(WINDOW *win, unsigned char *label, int y, int x, int selected);
172FILE *raw_popen(const char *program, char * const *argv, const char *type);
173int raw_pclose(FILE *iop);
174void display_helpfile(void);
175void display_helpline(WINDOW *w, int y, int width);
173void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no,
174 int box_x, int box_y, int tag_x, int cur_x, int cur_y);
176void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no, int box_x,
177 int box_y, int tag_x, int cur_x, int cur_y);
175
178