|
ELinks 0.19.1
|
#include <stdlib.h>#include <string.h>#include "elinks.h"#include "bfu/dialog.h"#include "config/kbdbind.h"#include "config/options.h"#include "intl/charsets.h"#include "intl/libintl.h"#include "terminal/draw.h"#include "main/timer.h"#include "terminal/kbd.h"#include "terminal/terminal.h"#include "terminal/window.h"#include "util/color.h"#include "util/conv.h"#include "util/error.h"#include "util/memlist.h"#include "util/memory.h"#include "util/string.h"
Functions | |
| struct dialog_data * | do_dialog (struct terminal *term, struct dialog *dlg, struct memory_list *ml) |
| static void | cycle_widget_focus (struct dialog_data *dlg_data, int direction) |
| static void | update_all_widgets (struct dialog_data *dlg_data) |
| void | redraw_dialog (struct dialog_data *dlg_data, int layout) |
| static void | select_dlg_item (struct dialog_data *dlg_data, struct widget_data *widget_data) |
| static struct widget_data * | init_widget (struct dialog_data *dlg_data, int i) |
| static int | check_range (struct dialog_data *dlg_data, struct widget_data *widget_data) |
| void | select_widget (struct dialog_data *dlg_data, struct widget_data *widget_data) |
| struct widget_data * | select_widget_by_id (struct dialog_data *dlg_data, int i) |
| static void | dialog_ev_init (struct dialog_data *dlg_data) |
| static void | select_button_by_flag (struct dialog_data *dlg_data, int flag) |
| static void | select_button_by_key (struct dialog_data *dlg_data) |
| static void | dialog_ev_kbd (struct dialog_data *dlg_data) |
| static void | dialog_ev_abort (struct dialog_data *dlg_data) |
| static void | dialog_func (struct window *win, struct term_event *ev) |
| int | check_dialog (struct dialog_data *dlg_data) |
| widget_handler_status_T | cancel_dialog (struct dialog_data *dlg_data, struct widget_data *xxx) |
| int | update_dialog_data (struct dialog_data *dlg_data) |
| widget_handler_status_T | ok_dialog (struct dialog_data *dlg_data, struct widget_data *widget_data) |
| widget_handler_status_T | clear_dialog (struct dialog_data *dlg_data, struct widget_data *xxx) |
| static void | format_widgets (struct terminal *term, struct dialog_data *dlg_data, int x, int *y, int w, int h, int *rw, int format_only) |
| void | generic_dialog_layouter (struct dialog_data *dlg_data) |
| void | draw_dialog (struct dialog_data *dlg_data, int width, int height) |
| static void | do_refresh_dialog (struct dialog_data *dlg_data) |
| void | refresh_dialog (struct dialog_data *dlg_data, dialog_refresh_handler_T handler, void *data) |
Variables | |
| static window_handler_T | dialog_func |
| static const struct widget_ops *const | widget_type_to_ops [] |
| widget_handler_status_T cancel_dialog | ( | struct dialog_data * | dlg_data, |
| struct widget_data * | xxx ) |
| int check_dialog | ( | struct dialog_data * | dlg_data | ) |
|
static |
| widget_handler_status_T clear_dialog | ( | struct dialog_data * | dlg_data, |
| struct widget_data * | xxx ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct dialog_data * do_dialog | ( | struct terminal * | term, |
| struct dialog * | dlg, | ||
| struct memory_list * | ml ) |
|
static |
| void draw_dialog | ( | struct dialog_data * | dlg_data, |
| int | width, | ||
| int | height ) |
|
static |
| void generic_dialog_layouter | ( | struct dialog_data * | dlg_data | ) |
|
static |
| widget_handler_status_T ok_dialog | ( | struct dialog_data * | dlg_data, |
| struct widget_data * | widget_data ) |
| void redraw_dialog | ( | struct dialog_data * | dlg_data, |
| int | layout ) |
| void refresh_dialog | ( | struct dialog_data * | dlg_data, |
| dialog_refresh_handler_T | handler, | ||
| void * | data ) |
|
static |
|
static |
|
static |
| void select_widget | ( | struct dialog_data * | dlg_data, |
| struct widget_data * | widget_data ) |
| struct widget_data * select_widget_by_id | ( | struct dialog_data * | dlg_data, |
| int | i ) |
|
static |
| int update_dialog_data | ( | struct dialog_data * | dlg_data | ) |
|
static |
|
static |