ELinks 0.18.0
|
#include "elinks.h"
#include "bfu/button.h"
#include "bfu/checkbox.h"
#include "bfu/dialog.h"
#include "bfu/text.h"
#include "intl/libintl.h"
#include "terminal/draw.h"
#include "terminal/mouse.h"
#include "terminal/terminal.h"
Macros | |
#define | CHECKBOX_HEIGHT 1 |
#define | CHECKBOX_LEN 3 /* "[X]" or "(X)" */ |
#define | CHECKBOX_SPACING 1 /* "[X]" + " " + "Label" */ |
#define | CHECKBOX_LS (CHECKBOX_LEN + CHECKBOX_SPACING) /* "[X] " */ |
Functions | |
void | add_dlg_radio_do (struct dialog *dlg, char *text, int groupid, int groupnum, int *data) |
void | dlg_format_checkbox (struct dialog_data *dlg_data, struct widget_data *widget_data, int x, int *y, int w, int *rw, format_align_T align, int format_only) |
static widget_handler_status_T | display_checkbox (struct dialog_data *dlg_data, struct widget_data *widget_data) |
static widget_handler_status_T | init_checkbox (struct dialog_data *dlg_data, struct widget_data *widget_data) |
static widget_handler_status_T | mouse_checkbox (struct dialog_data *dlg_data, struct widget_data *widget_data) |
static widget_handler_status_T | select_checkbox (struct dialog_data *dlg_data, struct widget_data *widget_data) |
Variables | |
const struct widget_ops | checkbox_ops |
#define CHECKBOX_HEIGHT 1 |
#define CHECKBOX_LEN 3 /* "[X]" or "(X)" */ |
#define CHECKBOX_LS (CHECKBOX_LEN + CHECKBOX_SPACING) /* "[X] " */ |
#define CHECKBOX_SPACING 1 /* "[X]" + " " + "Label" */ |
void add_dlg_radio_do | ( | struct dialog * | dlg, |
char * | text, | ||
int | groupid, | ||
int | groupnum, | ||
int * | data ) |
|
static |
void dlg_format_checkbox | ( | struct dialog_data * | dlg_data, |
struct widget_data * | widget_data, | ||
int | x, | ||
int * | y, | ||
int | w, | ||
int * | rw, | ||
format_align_T | align, | ||
int | format_only ) |
|
static |
|
static |
|
static |
const struct widget_ops checkbox_ops |