Subversion Repositories Kolibri OS

Rev

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

Rev 7506 Rev 7806
Line 77... Line 77...
77
			edit_box_key stdcall(#SMTP_server_port_box);
77
			edit_box_key stdcall(#SMTP_server_port_box);
78
			break;
78
			break;
Line 79... Line 79...
79
 
79
 
80
		case evReDraw: _OPT_WIN:
80
		case evReDraw: _OPT_WIN:
81
			if !(DefineWindow(OPTIONS_HEADER)) break;
81
			if !(DefineWindow(OPTIONS_HEADER)) break;
82
			DrawBar(0,0, Form.cwidth, Form.cheight, system.color.work);
82
			DrawBar(0,0, Form.cwidth, Form.cheight, sc.work);
83
			DrawOptionsWindow();
83
			DrawOptionsWindow();
84
			break;
84
			break;
85
	}
85
	}
Line 89... Line 89...
89
{
89
{
90
	#define ELEM_X 25
90
	#define ELEM_X 25
91
	int i;
91
	int i;
92
	incn y;
92
	incn y;
93
	y.n=0;
93
	y.n=0;
94
	DrawBar(0, Form.cheight - 40, Form.cwidth, 1, system.color.work_graph);
94
	DrawBar(0, Form.cheight - 40, Form.cwidth, 1, sc.work_graph);
95
	DrawBar(0, Form.cheight - 40+1, Form.cwidth, 1, LBUMP);
95
	DrawBar(0, Form.cheight - 40+1, Form.cwidth, 1, LBUMP);
96
	DrawCaptButton(Form.cwidth-79, Form.cheight-32, 70, 25, 19, system.color.work_button, system.color.work_button_text,"Apply");
96
	DrawCaptButton(Form.cwidth-79, Form.cheight-32, 70, 25, 19, sc.button, sc.button_text,"Apply");
Line 97... Line 97...
97
 
97
 
98
	WriteText(ELEM_X, y.inc(20), 0x81, system.color.work_text, "Network settings");
98
	WriteText(ELEM_X, y.inc(20), 0x81, sc.work_text, "Network settings");
99
	automatic.draw(ELEM_X, y.inc(65));
99
	automatic.draw(ELEM_X, y.inc(65));
100
	for (i=0; i<4; i++)	{
100
	for (i=0; i<4; i++)	{
101
		WriteTextWithBg(ELEM_X+40, i*35+POP_server_box.top + 3, 0xD0, system.color.work_text, text1[i], system.color.work);
101
		WriteTextWithBg(ELEM_X+40, i*35+POP_server_box.top + 3, 0xD0, sc.work_text, text1[i], sc.work);
102
	}
102
	}
103
	DrawEditBox(#POP_server_box);
103
	DrawEditBox(#POP_server_box);
104
	DrawEditBox(#POP_server_port_box);
104
	DrawEditBox(#POP_server_port_box);
105
	DrawEditBox(#SMTP_server_box);
105
	DrawEditBox(#SMTP_server_box);