Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 5713 → Rev 5714

/programs/cmm/liza/liza.c
46,9 → 46,9
#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
/programs/cmm/liza/login.c
110,7 → 110,7
 
void LoginBoxLoop()
{
int key, id;
int id;
 
SetLoginStatus(NULL);
goto _LB_DRAW;
138,8 → 138,8
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
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;
/programs/cmm/liza/mail_box.c
140,7 → 140,7
 
 
void MailBoxLoop() {
int key, id;
int id;
int panels_drag=0, clicked_list=0;
dword line_col, text_col;
 
249,9 → 249,9
 
break;
case evKey:
key = GetKey();
GetKeys();
 
if (!aim) && (mail_list.ProcessKey(key))
if (!aim) && (mail_list.ProcessKey(key_scancode))
{
DrawMailList();
aim = SEND_RETR;
/programs/cmm/liza/settings.c
64,10 → 64,10
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
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);