Lines Matching refs:listitems
352 struct bsddialog_menuitem *listitems; in show_dialog() local
361 listitems = calloc(num_keymaps + 1, sizeof(struct bsddialog_menuitem)); in show_dialog()
362 if (listitems == NULL) { in show_dialog()
380 listitems[i].prefix = ""; in show_dialog()
381 listitems[i].depth = 0; in show_dialog()
382 listitems[i].bottomdesc = ""; in show_dialog()
383 listitems[i].on = false; in show_dialog()
384 listitems[i].name = km_sorted[i]->desc; in show_dialog()
385 listitems[i].desc = ""; in show_dialog()
391 result = bsddialog_menu(&conf, menu, 0, 0, 0, num_keymaps, listitems, in show_dialog()
400 if (listitems[i].on) { in show_dialog()