base/config/kconfig/lxdialog/checklist.c File Reference

Include dependency graph for checklist.c:

Go to the source code of this file.

Functions

static void print_item (WINDOW *win, const char *item, int status, int choice, int selected)
static void print_arrows (WINDOW *win, int choice, int item_no, int scroll, int y, int x, int height)
static void print_buttons (WINDOW *dialog, int height, int width, int selected)
int dialog_checklist (const char *title, const char *prompt, int height, int width, int list_height, int item_no, const char *const *items, int flag)

Variables

static int list_width
static int check_x
static int item_x
static int checkflag


Function Documentation

int dialog_checklist ( const char *  title,
const char *  prompt,
int  height,
int  width,
int  list_height,
int  item_no,
const char *const *  items,
int  flag 
)

Definition at line 120 of file checklist.c.

References ACS_HLINE, ACS_LTEE, ACS_RTEE, border_attr, check_selected_attr, check_x, checkflag, dialog_attr, draw_box(), draw_shadow(), ESC, FLAG_CHECK, item_x, list_width, MAX, menubox_attr, menubox_border_attr, MIN, print_arrows(), print_autowrap(), print_buttons(), print_item(), TAB, and title_attr.

Referenced by j_checklist(), and j_radiolist().

Here is the call graph for this function:

static void print_arrows ( WINDOW *  win,
int  choice,
int  item_no,
int  scroll,
int  y,
int  x,
int  height 
) [static]

Definition at line 64 of file checklist.c.

References ACS_DARROW, ACS_HLINE, ACS_UARROW, darrow_attr, menubox_attr, menubox_border_attr, and uarrow_attr.

Referenced by dialog_checklist(), and dialog_menu().

static void print_buttons ( WINDOW *  dialog,
int  height,
int  width,
int  selected 
) [static]

Definition at line 103 of file checklist.c.

References print_button().

Referenced by dialog_checklist(), dialog_inputbox(), dialog_menu(), and dialog_yesno().

Here is the call graph for this function:

static void print_item ( WINDOW *  win,
const char *  item,
int  status,
int  choice,
int  selected 
) [static]

Definition at line 32 of file checklist.c.

References check_attr, check_selected_attr, check_x, checkflag, FLAG_CHECK, item_attr, item_selected_attr, item_x, list_width, menubox_attr, tag_attr, and tag_selected_attr.

Referenced by dialog_checklist(), and dialog_menu().


Variable Documentation

int check_x [static]

Definition at line 26 of file checklist.c.

Referenced by dialog_checklist(), and print_item().

int checkflag [static]

Definition at line 26 of file checklist.c.

Referenced by dialog_checklist(), and print_item().

int item_x [static]

Definition at line 26 of file checklist.c.

Referenced by dialog_checklist(), dialog_menu(), and print_item().

int list_width [static]

Definition at line 26 of file checklist.c.

Referenced by dialog_checklist(), and print_item().


Generated on Tue Feb 2 17:46:27 2010 for RTAI API by  doxygen 1.4.7