Lines Matching defs:selected
34 * *) Formerly if I selected something my scrolling would be broken because
49 * lxdialog, it sets the scrolling so that the selected item is in the
67 int selected, int hotkey)
88 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr);
91 wattrset(win, selected ? dlg.tag_key_selected.atr
95 if (selected) {
102 #define print_item(index, choice, selected) \
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)
160 print_button(win, gettext("Select"), y, x, selected == 0);
161 print_button(win, gettext(" Exit "), y, x + 12, selected == 1);
162 print_button(win, gettext(" Help "), y, x + 24, selected == 2);
164 wmove(win, y, x + 1 + 12 * selected);
183 const void *selected, int *s_scroll)
247 if (selected && (selected == item_data()))