Lines Matching refs:selected
21 * *) Formerly if I selected something my scrolling would be broken because
36 * lxdialog, it sets the scrolling so that the selected item is in the
54 int selected, int hotkey)
67 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr);
70 wattrset(win, selected ? dlg.tag_key_selected.atr
74 if (selected) {
81 #define print_item(index, choice, selected) \
84 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
134 static void print_buttons(WINDOW * win, int height, int width, int selected)
139 print_button(win, "Select", y, x, selected == 0);
140 print_button(win, " Exit ", y, x + 12, selected == 1);
141 print_button(win, " Help ", y, x + 24, selected == 2);
142 print_button(win, " Save ", y, x + 36, selected == 3);
143 print_button(win, " Load ", y, x + 48, selected == 4);
145 wmove(win, y, x + 1 + 12 * selected);
164 const void *selected, int *s_scroll)
228 if (selected && (selected == item_data()))