ELinks 0.18.0
Functions
msgbox.c File Reference
#include <stdarg.h>
#include "elinks.h"
#include "bfu/dialog.h"
#include "bfu/button.h"
#include "bfu/msgbox.h"
#include "bfu/text.h"
#include "intl/libintl.h"
#include "terminal/terminal.h"
#include "util/color.h"
#include "util/memlist.h"
#include "util/memory.h"
#include "util/snprintf.h"
#include "util/string.h"
Include dependency graph for msgbox.c:

Functions

struct dialog_data * msg_box (struct terminal *term, struct memory_list *ml, msgbox_flags_T flags, char *title, format_align_T align, char *text, void *udata, int buttons,...)
 
static char * msg_text_do (char *format, va_list ap)
 
char * msg_text (struct terminal *term, const char *format,...)
 
static void abort_refreshed_msg_box_handler (struct dialog_data *dlg_data)
 
static enum dlg_refresh_code refresh_msg_box (struct dialog_data *dlg_data, void *data)
 
void refreshed_msg_box (struct terminal *term, msgbox_flags_T flags, char *title, format_align_T align, char *(get_info)(struct terminal *, void *), void *data)
 
struct dialog_data * info_box (struct terminal *term, msgbox_flags_T flags, char *title, format_align_T align, char *text)
 

Function Documentation

◆ abort_refreshed_msg_box_handler()

static void abort_refreshed_msg_box_handler ( struct dialog_data *  dlg_data)
static

◆ info_box()

struct dialog_data * info_box ( struct terminal *  term,
msgbox_flags_T  flags,
char *  title,
format_align_T  align,
char *  text 
)

◆ msg_box()

struct dialog_data * msg_box ( struct terminal *  term,
struct memory_list *  ml,
msgbox_flags_T  flags,
char *  title,
format_align_T  align,
char *  text,
void *  udata,
int  buttons,
  ... 
)

◆ msg_text()

char * msg_text ( struct terminal *  term,
const char *  format,
  ... 
)

◆ msg_text_do()

static char * msg_text_do ( char *  format,
va_list  ap 
)
inlinestatic

◆ refresh_msg_box()

static enum dlg_refresh_code refresh_msg_box ( struct dialog_data *  dlg_data,
void *  data 
)
static

◆ refreshed_msg_box()

void refreshed_msg_box ( struct terminal *  term,
msgbox_flags_T  flags,
char *  title,
format_align_T  align,
char *  get_info)(struct terminal *, void *,
void *  data 
)