| 107 |
om->x=x; |
om->x=x; |
| 108 |
om->y=y; |
om->y=y; |
| 109 |
itmp=menu_size; |
itmp=menu_size; |
| 110 |
|
items=NULL; |
| 111 |
items=(ITEM**)xmalloc(sizeof(ITEM)*itmp); |
items=(ITEM**)xmalloc(sizeof(ITEM)*itmp); |
| 112 |
|
if (items==NULL) return NULL; |
| 113 |
cit=0; |
cit=0; |
| 114 |
itmp=0; |
itmp=0; |
| 115 |
|
|
| 122 |
itmp++; |
itmp++; |
| 123 |
} |
} |
| 124 |
|
|
| 125 |
|
|
| 126 |
om->menu=new_menu(items); |
om->menu=new_menu(items); |
| 127 |
set_menu_fore(om->menu,COLOR_PAIR(13)|A_REVERSE); |
set_menu_fore(om->menu,COLOR_PAIR(13)|A_REVERSE); |
| 128 |
set_menu_back(om->menu,COLOR_PAIR(2)); |
set_menu_back(om->menu,COLOR_PAIR(2)); |