| 39 |
#define MENU_SET_RESERVED_LENGTH (sizeof(int16_t) * 4) |
#define MENU_SET_RESERVED_LENGTH (sizeof(int16_t) * 4) |
| 40 |
|
|
| 41 |
MENU_SET bbs_menu; |
MENU_SET bbs_menu; |
| 42 |
|
MENU_SET top10_menu; |
| 43 |
|
|
| 44 |
int load_menu(MENU_SET *p_menu_set, const char *conf_file) |
int load_menu(MENU_SET *p_menu_set, const char *conf_file) |
| 45 |
{ |
{ |
| 993 |
{ |
{ |
| 994 |
moveto(p_menu->screen_row, p_menu->screen_col); |
moveto(p_menu->screen_row, p_menu->screen_col); |
| 995 |
clrtoeol(); |
clrtoeol(); |
| 996 |
prints("没有可选项"); |
prints("娌℃湁鍙夐」"); |
| 997 |
press_any_key(); |
press_any_key(); |
| 998 |
return -1; |
return -1; |
| 999 |
} |
} |
| 1069 |
{ |
{ |
| 1070 |
moveto(p_menu->screen_row, p_menu->screen_col); |
moveto(p_menu->screen_row, p_menu->screen_col); |
| 1071 |
clrtoeol(); |
clrtoeol(); |
| 1072 |
prints("没有可选项"); |
prints("娌℃湁鍙夐」"); |
| 1073 |
press_any_key(); |
press_any_key(); |
| 1074 |
return -1; |
return -1; |
| 1075 |
} |
} |
| 1168 |
if (p_menu_set->choose_step > 0) |
if (p_menu_set->choose_step > 0) |
| 1169 |
{ |
{ |
| 1170 |
p_menu_set->choose_step--; |
p_menu_set->choose_step--; |
| 1171 |
if (p_menu_set->choose_step == 0) |
return REDRAW; |
|
{ |
|
|
return REDRAW; |
|
|
} |
|
|
if (display_menu(p_menu_set) != 0) |
|
|
{ |
|
|
return menu_control(p_menu_set, KEY_LEFT); |
|
|
} |
|
| 1172 |
} |
} |
| 1173 |
else |
else |
| 1174 |
{ |
{ |