Subversion Repositories Kolibri OS

Rev

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

Rev 7291 Rev 7293
Line 38... Line 38...
38
	dword end;
38
	dword end;
39
	dword name;
39
	dword name;
Line 40... Line 40...
40
 
40
 
Line 41... Line 41...
41
	bool opens;
41
	bool opens;
42
 
42
 
Line 43... Line 43...
43
	dword param;
43
	dword attribute;
44
	dword value;
44
	dword value;
45
 
45
 
Line 243... Line 243...
243
		strcpy(#title, text.start);
243
		strcpy(#title, text.start);
244
		strcat(#title, " - Aelia");
244
		strcat(#title, " - Aelia");
245
		DrawTitle(#title);
245
		DrawTitle(#title);
246
	}
246
	}
Line 247... Line -...
247
 
-
 
248
 
-
 
249
 
247
 
250
	if 	(tag.nameis("h1")) || (tag.nameis("/h1")) ||
248
	if 	(tag.nameis("h1")) || (tag.nameis("/h1")) ||
251
		(tag.nameis("h2")) || (tag.nameis("/h2")) ||
249
		(tag.nameis("h2")) || (tag.nameis("/h2")) ||
252
		(tag.nameis("h3")) || (tag.nameis("/h3")) {
250
		(tag.nameis("h3")) || (tag.nameis("/h3")) {
253
		if (tag.nameis("h1")) {
251
		if (tag.nameis("h1")) {
Line 281... Line 279...
281
{
279
{
282
	if (kfont.size.height) && (style.body) {
280
	if (kfont.size.height) && (style.body) {
283
		kfont.bold = style.bold;
281
		kfont.bold = style.bold;
284
		canvas.write_text(draw.x, draw.y, style.color, text.start);
282
		canvas.write_text(draw.x, draw.y, style.color, text.start);
285
		if (style.a) {
283
		if (style.a) {
286
			canvas.draw_hor_line(draw.x, draw.y + list.item_h-1, kfont.get_label_width(text.start), style.color); 
284
			canvas.draw_hor_line(draw.x, draw.y + list.item_h-2, kfont.get_label_width(text.start), style.color); 
287
			link.add(draw.x, draw.y, kfont.get_label_width(text.start), list.item_h, text.start, "http://kolibrios.org");
285
			link.add(draw.x, draw.y, kfont.get_label_width(text.start), list.item_h, text.start, "http://kolibrios.org");
288
		}
286
		}
289
	}
287
	}
290
}
288
}
Line 331... Line 329...
331
=                                                        =
329
=                                                        =
332
========================================================*/
330
========================================================*/
333
void PreparePage() 
331
void PreparePage() 
334
{
332
{
335
	_dom dom;
333
	_dom dom;
336
	list.SetSizes(0, TOOLBAR_H, Form.cwidth-scroll.size_x-1, Form.cheight-TOOLBAR_H, kfont.size.pt+4);
-
 
-
 
334
 
337
	strcpy(#title, history.current()+strrchr(history.current(),'/'));
335
	strcpy(#title, history.current()+strrchr(history.current(),'/'));
338
	ChangeCharset(charsets[encoding], "CP866", io.buffer_data);
336
	ChangeCharset(charsets[encoding], "CP866", io.buffer_data);
339
	link.clear();
337
	link.clear();
Line 340... Line 338...
340
 
338