#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <libintl.h>
Go to the source code of this file.
|
void | item_reset (void) |
|
void | item_make (const char *fmt,...) |
|
void | item_add_str (const char *fmt,...) |
|
void | item_set_tag (char tag) |
|
void | item_set_data (void *p) |
|
void | item_set_selected (int val) |
|
int | item_activate_selected (void) |
|
void * | item_data (void) |
|
char | item_tag (void) |
|
int | item_count (void) |
|
void | item_set (int n) |
|
int | item_n (void) |
|
const char * | item_str (void) |
|
int | item_is_selected (void) |
|
int | item_is_tag (char tag) |
|
int | on_key_esc (WINDOW *win) |
|
int | on_key_resize (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) |
|
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) |
|
int | first_alpha (const char *string, const char *exempt) |
|
int | dialog_yesno (const char *title, const char *prompt, int height, int width) |
|
int | dialog_msgbox (const char *title, const char *prompt, int height, int width, int pause) |
|
int | dialog_textbox (const char *title, char *tbuf, int initial_height, int initial_width, int *keys, int *_vscroll, int *_hscroll, update_text_fn update_text, void *data) |
|
int | dialog_menu (const char *title, const char *prompt, const void *selected, int *s_scroll) |
|
int | dialog_checklist (const char *title, const char *prompt, int height, int width, int list_height) |
|
int | dialog_inputbox (const char *title, const char *prompt, int height, int width, const char *init) |
|
#define BUF_SIZE (10*1024) |
#define ERRDISPLAYTOOSMALL (KEY_MAX + 1) |
#define MAX |
( |
|
x, |
|
|
|
y |
|
) |
| (x > y ? x : y) |
#define MIN |
( |
|
x, |
|
|
|
y |
|
) |
| (x < y ? x : y) |
int item_activate_selected |
( |
void |
| ) |
|