/programs/cmm/eolite/include/menu.h |
---|
50,7 → 50,6 |
void FileMenu() |
{ |
word key,key2; |
proc_info MenuForm; |
int index; |
78,13 → 77,10 |
break; |
case evKey: |
GetFullKey(); |
key = AH; |
$shr eax,16 |
key2 = AL; |
if (key2==SCAN_CODE_ESC){cmd_free=1;ExitProcess();} |
else if (key2 == SCAN_CODE_ENTER) {action_buf = cur_action_buf; cmd_free=1; ExitProcess(); } |
if (menu.ProcessKey(key2)) MenuListRedraw(); |
GetKeys(); |
if (key_scancode==SCAN_CODE_ESC){cmd_free=1;ExitProcess();} |
else if (key_scancode == SCAN_CODE_ENTER) {action_buf = cur_action_buf; cmd_free=1; ExitProcess(); } |
if (menu.ProcessKey(key_scancode)) MenuListRedraw(); |
break; |
case evReDraw: _MENU_DRAW: |
/programs/cmm/eolite/include/properties.h |
---|
214,7 → 214,6 |
void properties_dialog() |
{ |
byte id; |
byte key,key2; |
dword file_name_off; |
dword selected_offset2; |
285,23 → 284,20 |
break; |
case evKey: |
GetFullKey(); |
key = AH; |
$shr eax,16 |
key2 = AL; |
GetKeys(); |
if (quest_active) |
{ |
IF (key2==SCAN_CODE_ENTER) SetProperties(2); |
IF (key2==SCAN_CODE_ESC) SetProperties(1); |
IF (key_scancode==SCAN_CODE_ENTER) SetProperties(2); |
IF (key_scancode==SCAN_CODE_ESC) SetProperties(1); |
break; |
} |
if (key2==SCAN_CODE_ESC) |
if (key_scancode==SCAN_CODE_ESC) |
{ |
cmd_free=3; |
ExitProcess(); |
} |
if (key2==SCAN_CODE_ENTER) |
if (key_scancode==SCAN_CODE_ENTER) |
{ |
if (selected_count) || (itdir) |
{ |
314,7 → 310,7 |
} |
break; |
} |
EAX=key<<8; |
EAX = key_ascii << 8; |
edit_box_key stdcall(#file_name_ed); |
edit_box_key stdcall(#path_to_file_ed); |
break; |
/programs/cmm/eolite/include/settings.h |
---|
32,7 → 32,6 |
void settings_dialog() |
{ |
byte id; |
unsigned int key, key2; |
proc_info settings_form; |
dword save_show_dev_name,save_real_files_names_case, save_info_after_copy, save_use_big_fonts, save_files_h, save_DBLTime; |
96,11 → 95,8 |
break; |
case evKey: |
GetFullKey(); |
key = AH; |
$shr eax,16 |
key2 = AL; |
if (key2==SCAN_CODE_ESC) |
GetKeys(); |
if (key_scancode==SCAN_CODE_ESC) |
{ |
active_settings = 0; |
action_buf = 300; |