- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
switch (k) {
........
case DN:
if (mnu_cnt != (cnt - 1)) goto Do_Ent_Key;
break;
}
if (k == HOME || k == END || k == RIGHT || k == LEFT) {
local_out_str(s_menu[mnu_old].menu_name, x + pos[mnu_old], y + 1, s_menu[mnu_old].len, color_item);
local_out_str(s_menu[mnu_cnt].menu_name, x + pos[mnu_cnt], y + 1, s_menu[mnu_cnt].len, color_sel);
if (s_menu[mnu_cnt].id_exe == 0 && Action != 0) goto Do_Ent_Key;
}
.........
switch (i) {
case ENT:
if (mnu_cnt == (cnt - 1)) {
i = 'Q';
break;
}
............
Do_Ent_Key:
if (s_menu[mnu_cnt].id_exe == 0) {
strncpy(st1, s_menu[mnu_cnt].level, 7);
len = st_l(st1, 7);
st1[len] = '0';
}
............
break;
}
codemonkey 20.07.2016 15:25 # +2
>Do_Ent_Key в другом свиче
ШЫДЭВР, блять.