mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 08:06:49 +03:00
CMM: ability to use Ctrl+C/Ctrl+V in EditBox for the rest apps
git-svn-id: svn://kolibrios.org@6641 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c65a0e6a0a
commit
77914283f6
@ -203,7 +203,6 @@ void HandleKeyEvent()
|
|||||||
EventChangeEncoding();
|
EventChangeEncoding();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (list.ProcessKey(key_scancode)) {
|
if (list.ProcessKey(key_scancode)) {
|
||||||
DrawPage();
|
DrawPage();
|
||||||
@ -212,7 +211,7 @@ void HandleKeyEvent()
|
|||||||
if (key_ascii != 0x0d)
|
if (key_ascii != 0x0d)
|
||||||
&& (key_ascii != ASCII_KEY_PGDN)
|
&& (key_ascii != ASCII_KEY_PGDN)
|
||||||
&& (key_ascii != ASCII_KEY_PGUP) {
|
&& (key_ascii != ASCII_KEY_PGUP) {
|
||||||
EAX = key_ascii << 8;
|
EAX = key_editbox;
|
||||||
edit_box_key stdcall(#address_box);
|
edit_box_key stdcall(#address_box);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -165,8 +165,10 @@ void main()
|
|||||||
GetKeys();
|
GetKeys();
|
||||||
if (address_box.flags & 0b10)
|
if (address_box.flags & 0b10)
|
||||||
{
|
{
|
||||||
if (key_ascii == ASCII_KEY_ENTER) Scan(key_scancode); else
|
if (key_ascii == ASCII_KEY_ENTER) Scan(key_scancode); else {
|
||||||
if (key_ascii != 0x0d) && (key_ascii != 183) && (key_ascii != 184) {EAX = key_ascii << 8; edit_box_key stdcall(#address_box);}
|
EAX = key_editbox;
|
||||||
|
edit_box_key stdcall(#address_box);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -368,7 +368,7 @@ void main()
|
|||||||
{
|
{
|
||||||
if (key_scancode == SCAN_CODE_ENTER) NewElement(true);
|
if (key_scancode == SCAN_CODE_ENTER) NewElement(true);
|
||||||
if (key_scancode == SCAN_CODE_ESC) NewElement(false);
|
if (key_scancode == SCAN_CODE_ESC) NewElement(false);
|
||||||
EAX= key_ascii << 8;
|
EAX = key_editbox;
|
||||||
edit_box_key stdcall (#new_file_ed);
|
edit_box_key stdcall (#new_file_ed);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -338,7 +338,7 @@ void properties_dialog()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
EAX = key_ascii << 8;
|
EAX = key_editbox;
|
||||||
edit_box_key stdcall(#file_name_ed);
|
edit_box_key stdcall(#file_name_ed);
|
||||||
edit_box_key stdcall(#path_to_file_ed);
|
edit_box_key stdcall(#path_to_file_ed);
|
||||||
break;
|
break;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#define TITLE "Eolite File Manager v3.68"
|
#define TITLE "Eolite File Manager v3.7"
|
||||||
#define ABOUT_TITLE "EOLITE 3.68"
|
#define ABOUT_TITLE "EOLITE 3.7"
|
||||||
|
|
||||||
#ifdef LANG_RUS
|
#ifdef LANG_RUS
|
||||||
?define T_FILE "” ©«"
|
?define T_FILE "” ©«"
|
||||||
|
@ -155,7 +155,7 @@ void LoginBoxLoop()
|
|||||||
GetSettings();
|
GetSettings();
|
||||||
DrawLoginScreen();
|
DrawLoginScreen();
|
||||||
}
|
}
|
||||||
EAX=key_ascii<<8;
|
EAX = key_editbox;
|
||||||
edit_box_key stdcall(#login_box);
|
edit_box_key stdcall(#login_box);
|
||||||
edit_box_key stdcall(#pass_box);
|
edit_box_key stdcall(#pass_box);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user