mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 16:16:50 +03:00
liza: use scancodes
git-svn-id: svn://kolibrios.org@5714 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
fd987781a3
commit
d7b4570ef2
@ -46,9 +46,9 @@ enum {
|
||||
#define WIN_H 440
|
||||
#define WIN_MIN_W 500
|
||||
#define WIN_MIN_H 380
|
||||
#define LOGIN_HEADER "Login - Email client Liza 0.9.3"
|
||||
#define OPTIONS_HEADER "Options - Email client Liza 0.9.3"
|
||||
#define MAILBOX_HEADER "Mail Box - Email client Liza 0.9.3"
|
||||
#define LOGIN_HEADER "Login - Email client Liza 0.9.4"
|
||||
#define OPTIONS_HEADER "Options - Email client Liza 0.9.4"
|
||||
#define MAILBOX_HEADER "Mail Box - Email client Liza 0.9.4"
|
||||
#define BUFFERSIZE 512
|
||||
proc_info Form;
|
||||
#define LBUMP 0xFFFfff
|
||||
|
@ -110,7 +110,7 @@ void LoginNetworkProcess()
|
||||
|
||||
void LoginBoxLoop()
|
||||
{
|
||||
int key, id;
|
||||
int id;
|
||||
|
||||
SetLoginStatus(NULL);
|
||||
goto _LB_DRAW;
|
||||
@ -138,8 +138,8 @@ void LoginBoxLoop()
|
||||
break;
|
||||
|
||||
case evKey:
|
||||
key = GetKey();
|
||||
if (key==9)
|
||||
GetKeys();
|
||||
if (key_scancode==SCAN_CODE_TAB)
|
||||
{
|
||||
if (login_box.flags & 0b10)
|
||||
{ pass_box.flags = 0b11; login_box.flags = 0; }
|
||||
@ -149,13 +149,13 @@ void LoginBoxLoop()
|
||||
edit_box_draw stdcall(#pass_box);
|
||||
break;
|
||||
}
|
||||
if (key==13) && (!aim)
|
||||
if (key_scancode==SCAN_CODE_ENTER) && (!aim)
|
||||
{
|
||||
aim=RESOLVE;
|
||||
GetSettings();
|
||||
DrawLoginScreen();
|
||||
}
|
||||
EAX=key<<8;
|
||||
EAX=key_ascii<<8;
|
||||
edit_box_key stdcall(#login_box);
|
||||
edit_box_key stdcall(#pass_box);
|
||||
break;
|
||||
|
@ -140,7 +140,7 @@ void MailBoxNetworkProcess() {
|
||||
|
||||
|
||||
void MailBoxLoop() {
|
||||
int key, id;
|
||||
int id;
|
||||
int panels_drag=0, clicked_list=0;
|
||||
dword line_col, text_col;
|
||||
|
||||
@ -249,9 +249,9 @@ void MailBoxLoop() {
|
||||
|
||||
break;
|
||||
case evKey:
|
||||
key = GetKey();
|
||||
GetKeys();
|
||||
|
||||
if (!aim) && (mail_list.ProcessKey(key))
|
||||
if (!aim) && (mail_list.ProcessKey(key_scancode))
|
||||
{
|
||||
DrawMailList();
|
||||
aim = SEND_RETR;
|
||||
|
@ -64,10 +64,10 @@ void SettingsDialog()
|
||||
break;
|
||||
|
||||
case evKey:
|
||||
key = GetKey();
|
||||
GetKeys();;
|
||||
|
||||
if (checked[1]==0) break;
|
||||
if (key==9)
|
||||
if (key_scancode==SCAN_CODE_TAB)
|
||||
{
|
||||
if (POP_server_box.flags & 0b10) { POP_server_box.flags -= 0b10; POP_server_port_box.flags += 0b10; } else
|
||||
if (POP_server_port_box.flags & 0b10) { POP_server_port_box.flags -= 0b10; SMTP_server_box.flags += 0b10; } else
|
||||
@ -77,7 +77,7 @@ void SettingsDialog()
|
||||
OptionsWindow();
|
||||
}
|
||||
|
||||
EAX=key<<8;
|
||||
EAX=key_ascii<<8;
|
||||
edit_box_key stdcall(#POP_server_box);
|
||||
edit_box_key stdcall(#POP_server_port_box);
|
||||
edit_box_key stdcall(#SMTP_server_box);
|
||||
|
Loading…
Reference in New Issue
Block a user