Home
last modified time | relevance | path

Searched refs:selected (Results 1 – 8 of 8) sorted by relevance

/scripts/kconfig/lxdialog/
Dmenubox.c67 int selected, int hotkey) in do_print_item() argument
88 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in do_print_item()
91 wattrset(win, selected ? dlg.tag_key_selected.atr in do_print_item()
95 if (selected) { in do_print_item()
102 #define print_item(index, choice, selected) \ argument
105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
155 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument
160 print_button(win, gettext("Select"), y, x, selected == 0); in print_buttons()
161 print_button(win, gettext(" Exit "), y, x + 12, selected == 1); in print_buttons()
162 print_button(win, gettext(" Help "), y, x + 24, selected == 2); in print_buttons()
[all …]
Dchecklist.c31 static void print_item(WINDOW * win, int choice, int selected) in print_item() argument
46 wattrset(win, selected ? dlg.check_selected.atr in print_item()
51 wattrset(win, selected ? dlg.tag_selected.atr : dlg.tag.atr); in print_item()
53 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in print_item()
55 if (selected) { in print_item()
101 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
106 print_button(dialog, gettext("Select"), y, x, selected == 0); in print_buttons()
107 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); in print_buttons()
109 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
Dyesno.c27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
32 print_button(dialog, gettext(" Yes "), y, x, selected == 0); in print_buttons()
33 print_button(dialog, gettext(" No "), y, x + 13, selected == 1); in print_buttons()
35 wmove(dialog, y, x + 1 + 13 * selected); in print_buttons()
Ddialog.h176 int selected; /* Set to 1 by dialog_*() function if selected. */ member
224 void print_button(WINDOW * win, const char *label, int y, int x, int selected);
242 const void *selected, int *s_scroll);
Dinputbox.c29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
34 print_button(dialog, gettext(" Ok "), y, x, selected == 0); in print_buttons()
35 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); in print_buttons()
37 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
Dutil.c447 void print_button(WINDOW * win, const char *label, int y, int x, int selected) in print_button() argument
452 wattrset(win, selected ? dlg.button_active.atr in print_button()
457 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
461 wattrset(win, selected ? dlg.button_key_active.atr in print_button()
464 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
467 wattrset(win, selected ? dlg.button_active.atr in print_button()
648 item_cur->node.selected = val; in item_set_selected()
707 return (item_cur->node.selected != 0); in item_is_selected()
/scripts/
Dget_maintainer.pl1496 my %selected;
1503 $selected{$count} = 1;
1528 $sel = "*" if ($selected{$count});
1612 $selected{$nr - 1} = !$selected{$nr - 1};
1617 $selected{$i} = $toggle;
1621 $selected{$i} = !$selected{$i};
1626 $selected{$i} = !$selected{$i}
1631 $selected{$i} = !$selected{$i}
1636 $selected{$i} = !$selected{$i}
1641 $selected{$i} = !$selected{$i}
[all …]
/scripts/kconfig/
Dmconf.c809 int selected; in conf_choice() local
834 selected = item_activate_selected(); in conf_choice()
837 if (selected) { in conf_choice()
846 if (selected) { in conf_choice()