use edit_box_key_c in a proper places
This commit is contained in:
@@ -403,7 +403,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;
|
||||
|
@@ -212,8 +212,8 @@ void properties_dialog()
|
||||
case SCAN_CODE_KEY_A:
|
||||
case SCAN_CODE_KEY_C:
|
||||
if (key_modifier & KEY_LCTRL) || (key_modifier & KEY_RCTRL) {
|
||||
edit_box_key stdcall(#file_name_ed,key_editbox);
|
||||
edit_box_key stdcall(#path_to_file_ed,key_editbox);
|
||||
edit_box_key_c stdcall(#file_name_ed,key_editbox);
|
||||
edit_box_key_c stdcall(#path_to_file_ed,key_editbox);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@@ -69,7 +69,7 @@ void settings_dialog()
|
||||
case evKey:
|
||||
GetKeys();
|
||||
if (key_scancode==SCAN_CODE_ESC) ExitSettings();
|
||||
edit_box_key stdcall (#path_start_ed,key_ascii << 8);
|
||||
edit_box_key_c stdcall (#path_start_ed,key_editbox);
|
||||
break;
|
||||
|
||||
case evReDraw:
|
||||
|
@@ -17,7 +17,7 @@ dword box_lib_init = #aboxlib_init;
|
||||
|
||||
dword edit_box_draw = #aEdit_box_draw;
|
||||
dword edit_box_key = #aEdit_box_key;
|
||||
//dword edit_box_key_safe = #aEdit_box_key_safe;
|
||||
dword edit_box_key_c = #aEdit_box_key_c;
|
||||
dword edit_box_mouse = #aEdit_box_mouse;
|
||||
dword edit_box_set_text = #aEdit_box_set_text;
|
||||
|
||||
@@ -38,7 +38,7 @@ $DD 2 dup 0
|
||||
|
||||
char aEdit_box_draw [] = "edit_box";
|
||||
char aEdit_box_key [] = "edit_box_key";
|
||||
//char aEdit_box_key_safe[] = "edit_box_key_safe"; //edit_box_key_stdcall
|
||||
char aEdit_box_key_c[] = "edit_box_key_safe";
|
||||
char aEdit_box_mouse[] = "edit_box_mouse";
|
||||
char aEdit_box_set_text[] = "edit_box_set_text";
|
||||
|
||||
|
Reference in New Issue
Block a user