Lines Matching refs:selected
67 int selected, int hotkey) in do_print_item() argument
88 wattrset(win, selected ? item_selected_attr : item_attr); in do_print_item()
91 wattrset(win, selected ? tag_key_selected_attr : tag_key_attr); in do_print_item()
94 if (selected) { in do_print_item()
101 #define print_item(index, choice, selected) \ argument
104 do_print_item(menu, items[(index) * 2 + 1], choice, selected, hotkey); \
154 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument
159 print_button(win, "Select", y, x, selected == 0); in print_buttons()
160 print_button(win, " Exit ", y, x + 12, selected == 1); in print_buttons()
161 print_button(win, " Help ", y, x + 24, selected == 2); in print_buttons()
163 wmove(win, y, x + 1 + 12 * selected); in print_buttons()