eolite: fixed remaining issues with call edit_box_key_safe (edit_box_key_c)
cmmlib: fixed edit_box_key_safe define, now edit_box_key_с the same + edit comments git-svn-id: svn://kolibrios.org@9727 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
4debc9fd1b
commit
d9a89d8528
@ -380,7 +380,7 @@ void main()
|
||||
} else {
|
||||
if (key_scancode == SCAN_CODE_ENTER) EventPopinClickOkay();
|
||||
if (popin_string[0] != -1) {
|
||||
edit_box_key stdcall (#popin_text, key_editbox);
|
||||
edit_box_key_c stdcall (#popin_text, key_editbox);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -210,9 +210,8 @@ void properties_dialog()
|
||||
case SCAN_CODE_KEY_A:
|
||||
case SCAN_CODE_KEY_C:
|
||||
if (key_modifier & KEY_LCTRL) || (key_modifier & KEY_RCTRL) {
|
||||
EAX = key_editbox;
|
||||
edit_box_key stdcall(#file_name_ed);
|
||||
edit_box_key stdcall(#path_to_file_ed);
|
||||
edit_box_key_c stdcall(#file_name_ed,key_editbox);
|
||||
edit_box_key_c stdcall(#path_to_file_ed,key_editbox);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -67,8 +67,7 @@ void settings_dialog()
|
||||
case evKey:
|
||||
GetKeys();
|
||||
if (key_scancode==SCAN_CODE_ESC) ExitSettings();
|
||||
EAX= key_ascii << 8;
|
||||
edit_box_key stdcall (#path_start_ed);
|
||||
edit_box_key_c stdcall (#path_start_ed,key_ascii << 8);
|
||||
break;
|
||||
|
||||
case evReDraw:
|
||||
|
@ -27,12 +27,14 @@ extern dword frame_draw;
|
||||
|
||||
/*
|
||||
Legacy support
|
||||
For new programs need to use edit_box_key_safe
|
||||
TODO: change in all cmm programs edit_box_key to edit_box_key_safe,
|
||||
after that delete #define below
|
||||
For new programs need to use edit_box_key_safe (or edit_box_key_c
|
||||
with a define below)
|
||||
TODO: change in all cmm programs edit_box_key to edit_box_key_safe (edit_box_key_c)
|
||||
See examples in eolite and imgedit
|
||||
|
||||
This define changed all edit_box_key_c to edit_box_key_safe identifier's
|
||||
*/
|
||||
#define edit_box_key edit_box_key_safe
|
||||
#define edit_box_key_c edit_box_key_safe
|
||||
|
||||
#else
|
||||
#ifndef INCLUDE_DLL_H
|
||||
|
Loading…
Reference in New Issue
Block a user