Subversion Repositories Kolibri OS

Rev

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

Rev 9263 Rev 9293
Line 198... Line 198...
198
void TWebBrowser::tag_hr()
198
void TWebBrowser::tag_hr()
199
{
199
{
200
	dword hrcol = 0x00777777;
200
	dword hrcol = 0x00777777;
201
	if (tag.get_value_of("color")) hrcol = GetColor(tag.value);
201
	if (tag.get_value_of("color")) hrcol = GetColor(tag.value);
202
	if (draw_x != left_gap) NewLine();
202
	if (draw_x != left_gap) NewLine();
203
	if (secondrun) canvas.DrawBar(5, style.cur_line_h / 2 + draw_y - 1, draw_w-10, 1, hrcol);
203
	if (secondrun) canvas.DrawBar(5+left_gap, style.cur_line_h / 2 + draw_y - 1, draw_w-10, 1, hrcol);
204
	draw_x++;
204
	draw_x++;
205
	NewLine();
205
	NewLine();
206
	return;
206
	return;
207
}
207
}
Line 340... Line 340...
340
	td_pos = 0;
340
	td_pos = 0;
341
}
341
}
Line 342... Line 342...
342
 
342
 
343
void TWebBrowser::tag_table()
343
void TWebBrowser::tag_table()
-
 
344
{
-
 
345
	if (!tag.opened) {
-
 
346
		if (style.font) tag_font();
-
 
347
		if (link) tag_a();
-
 
348
		style.b = false;
-
 
349
	}
344
{
350
 
345
	if (tag.is("table")) {
351
	if (tag.is("table")) {
346
		if(tag.opened) {
352
		if(tag.opened) {
347
			table.depth++;
353
			table.depth++;
348
			if (table.depth==1) {
354
			if (table.depth==1) {