Subversion Repositories Kolibri OS

Rev

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

Rev 5982 Rev 5985
Line 115... Line 115...
115
	if (param) strcpy(#URL, #param); else strcpy(#URL, URL_SERVICE_HOME);
115
	if (param) strcpy(#URL, #param); else strcpy(#URL, URL_SERVICE_HOME);
116
	WB1.DrawBuf.zoom = 1;
116
	WB1.DrawBuf.zoom = 1;
117
	WB1.list.SetFont(8, 14, 10111000b);
117
	WB1.list.SetFont(8, 14, 10111000b);
118
	WB1.list.no_selection = true;
118
	WB1.list.no_selection = true;
119
	//font init
119
	//font init
120
	font.no_bg_copy = true;
-
 
121
	font.bg_color   = 0xFFFFFF;
120
	font.bg_color   = 0xFFFFFF;
122
	font.load(DEFAULT_FONT);
121
	font.load(DEFAULT_FONT);
123
	if (!font.data) {
122
	if (!font.data) {
124
		notify("'Error: Font is not loaded.' -E");
123
		notify("'Error: Font is not loaded.' -E");
125
		ExitProcess();
124
		ExitProcess();
Line 284... Line 283...
284
 
283
 
285
	/*
284
	/*
286
	list__w = 200;
285
	list__w = 200;
287
	font.buffer_size = 0;
286
	font.buffer_size = 0;
288
	font.size.height = 200;
287
	font.size.height = 200;
289
	font.color = 0;
288
	font.color = 0x000000;
290
	font.size.text = 11;
289
	font.size.text = 11;
291
	font.prepare_buf(10,10,list__w,font.size.height, "Hello World!");
290
	font.write_buf(10,10,list__w,font.size.height, "Hello World!");
292
	font.color = 0xFF00FF;
291
	font.color = 0xFF00FF;
293
	font.size.text = 12;
292
	font.size.text = 12;
294
	font.prepare_buf(10,23,list__w,font.size.height, "How are you?");
293
	font.write_buf(10,23,list__w,font.size.height, "How are you?");
295
	font.color = 0x2E74BB;
294
	font.color = 0x2E74BB;
296
	font.size.text = 15;
295
	font.size.text = 15;
297
	font.prepare_buf(11,40,list__w,font.size.height, "Fine");
296
	font.write_buf(11,40,list__w,font.size.height, "Fine");
298
	SmoothFont(font.buffer, font.size.width, font.size.height);
297
	font.apply_smooth();
299
	_PutImage(0,0,list__w,font.size.height,font.buffer);
298
	_PutImage(0,0,list__w,font.size.height,font.buffer);
300
	*/
299
	*/