Subversion Repositories Kolibri OS

Rev

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

Rev 5683 Rev 5690
Line 1... Line 1...
1
//Leency & SoUrcerer, LGPL
1
//Leency & SoUrcerer, LGPL
Line 2... Line 2...
2
 
2
 
3
#define CUSTOM 0
3
#define CUSTOM 0
4
#define MANUAL 1
4
#define MANUAL 1
5
char checked[3] = { 1, 0 };
-
 
Line 6... Line 5...
6
int use_iconv = 1;
5
char checked[3] = { 1, 0 };
Line 7... Line 6...
7
 
6
 
8
char *text1[] = {"POP server adress:", "POP server port:", "SMTP server adress:", "SMTP server port:", '\0'};
7
char *text1[] = {"POP server adress:", "POP server port:", "SMTP server adress:", "SMTP server port:", '\0'};
Line 60... Line 59...
60
						POP_server_box.blur_border_color = POP_server_box.blur_border_color = POP_server_port_box.blur_border_color =
59
						POP_server_box.blur_border_color = POP_server_box.blur_border_color = POP_server_port_box.blur_border_color =
61
						 SMTP_server_box.blur_border_color = SMTP_server_port_box.blur_border_color = 0xCACACA;
60
						 SMTP_server_box.blur_border_color = SMTP_server_port_box.blur_border_color = 0xCACACA;
62
					}
61
					}
63
					OptionsWindow();
62
					OptionsWindow();
64
				}
63
				}
65
				if (id==20)
-
 
66
				{
-
 
67
					if (use_iconv==2) break;
-
 
68
					if (use_iconv==1) use_iconv=0; else use_iconv=1;
-
 
69
					OptionsWindow();
-
 
70
				}
-
 
71
				break;
64
				break;
Line 72... Line 65...
72
				
65
				
73
			case evKey:
66
			case evKey:
Line 118... Line 111...
118
	}
111
	}
119
	edit_box_draw stdcall(#POP_server_box);
112
	edit_box_draw stdcall(#POP_server_box);
120
	edit_box_draw stdcall(#POP_server_port_box);
113
	edit_box_draw stdcall(#POP_server_port_box);
121
	edit_box_draw stdcall(#SMTP_server_box);
114
	edit_box_draw stdcall(#SMTP_server_box);
122
	edit_box_draw stdcall(#SMTP_server_port_box);
115
	edit_box_draw stdcall(#SMTP_server_port_box);
123
 
-
 
124
	WriteTextB(ELEM_X, 205, 0x90, system.color.work_text, "MailBox settings");
-
 
125
	CheckBox(ELEM_X, 230,12, 12, 20, "Use iconv library for converting text charsets", system.color.work_graph, system.color.work_text, use_iconv);
-
 
126
}
116
}
127
>
117
>