H A D | buildlist.c | 54 #define okIndex(all,index) ((index) >= 0 && (index) < (all)->item_no) argument 60 DIALOG_LISTITEM *items; /* all items in the widget */ 76 index2row(ALL_DATA * all, int choice, int selected) in index2row() argument 78 MY_DATA *data = all->list + selected; in index2row() 81 if (okIndex(all, choice)) { in index2row() 84 for (row = 0; row < all->item_no; ++row) { in index2row() 86 choice, all->items + choice, in index2row() 88 if (myItem(data, row) == all->items + choice) { in index2row() 102 row2index(ALL_DATA * all, int row, int selected) in row2index() argument 104 MY_DATA *data = all->list + selected; in row2index() [all …]
|