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

#include "dialog.h"

Include dependency graph for checklist.c:

Include dependency graph

Go to the source code of this file.

Functions

void print_item (WINDOW *win, const char *item, int status, int choice, int selected)
void print_arrows (WINDOW *win, int choice, int item_no, int scroll, int y, int x, int height)
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

int list_width
int check_x
int item_x
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:

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.

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

Definition at line 103 of file checklist.c.

References print_button().

Here is the call graph for this function:

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.


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(), and print_item().

int list_width [static]
 

Definition at line 26 of file checklist.c.

Referenced by dialog_checklist(), and print_item().


Generated on Thu Nov 20 11:51:15 2008 for RTAI API by doxygen 1.3.8