Subversion Repositories Kolibri OS

Rev

Rev 6278 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6278 Rev 6678
Line 9... Line 9...
9
dword mouse_opt;
9
dword mouse_opt;
10
unsigned char POP_server1[128]="pop.server.com";
10
unsigned char POP_server1[128]="pop.server.com";
11
unsigned char POP_server_port1[5]="110";
11
unsigned char POP_server_port1[5]="110";
12
unsigned char SMTP_server1[128]="smtp.server.com";
12
unsigned char SMTP_server1[128]="smtp.server.com";
13
unsigned char SMTP_server_port1[5]="25";
13
unsigned char SMTP_server_port1[5]="25";
14
edit_box POP_server_box        = {210,230,125 ,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,sizeof(POP_server1),#POP_server1,#mouse_opt,100000000000b};
14
edit_box POP_server_box        = {210,230,125 ,0xffffff,0x94AECE,0xffc90E,0xCACACA,0x10000000,sizeof(POP_server1),#POP_server1,#mouse_opt,100000000000b};
15
edit_box POP_server_port_box   = {210,230,160,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,5,#POP_server_port1,#mouse_opt,100000000000b};
15
edit_box POP_server_port_box   = {210,230,160,0xffffff,0x94AECE,0xffc90E,0xCACACA,0x10000000,5,#POP_server_port1,#mouse_opt,100000000000b};
16
edit_box SMTP_server_box       = {210,230,195,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,sizeof(SMTP_server1),#SMTP_server1,#mouse_opt,100000000000b};
16
edit_box SMTP_server_box       = {210,230,195,0xffffff,0x94AECE,0xffc90E,0xCACACA,0x10000000,sizeof(SMTP_server1),#SMTP_server1,#mouse_opt,100000000000b};
17
edit_box SMTP_server_port_box  = {210,230,230,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,5,#SMTP_server_port1,#mouse_opt,100000000000b};
17
edit_box SMTP_server_port_box  = {210,230,230,0xffffff,0x94AECE,0xffc90E,0xCACACA,0x10000000,5,#SMTP_server_port1,#mouse_opt,100000000000b};
Line 18... Line 18...
18
 
18
 
19
 
19
 
20
void SettingsDialog()
20
void SettingsDialog()
Line 105... Line 105...
105
 
105
 
106
	WriteText(ELEM_X, y.inc(20), 0x81, system.color.work_text, "Network settings");
106
	WriteText(ELEM_X, y.inc(20), 0x81, system.color.work_text, "Network settings");
107
	CheckBox(ELEM_X, y.inc(35), 17, "Use custom settings", checked[0]);
107
	CheckBox(ELEM_X, y.inc(35), 17, "Use custom settings", checked[0]);
108
	CheckBox(ELEM_X, y.inc(30), 18, "Manual configuration", checked[1]);
108
	CheckBox(ELEM_X, y.inc(30), 18, "Manual configuration", checked[1]);
109
	EDI = system.color.work;
109
	EDI = system.color.work;
110
	for (i=0; i<4; i++)	WriteText(ELEM_X+40, i*35+POP_server_box.top, 0xD0, system.color.work_text, text1[i]);
110
	for (i=0; i<4; i++)	WriteText(ELEM_X+40, i*35+POP_server_box.top + 3, 0xD0, system.color.work_text, text1[i]);
111
	DrawEditBox(#POP_server_box);
111
	DrawEditBox(#POP_server_box);
112
	DrawEditBox(#POP_server_port_box);
112
	DrawEditBox(#POP_server_port_box);
113
	DrawEditBox(#SMTP_server_box);
113
	DrawEditBox(#SMTP_server_box);
114
	DrawEditBox(#SMTP_server_port_box);
114
	DrawEditBox(#SMTP_server_port_box);
115
}
115
}