Subversion Repositories Kolibri OS

Rev

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

Rev 5981 Rev 5982
Line 258... Line 258...
258
	WB1.list.column_max = WB1.list.w - scroll_wv.size_x / WB1.list.font_w;
258
	WB1.list.column_max = WB1.list.w - scroll_wv.size_x / WB1.list.font_w;
259
	WB1.list.visible = WB1.list.h - 5 / WB1.list.item_h;
259
	WB1.list.visible = WB1.list.h - 5 / WB1.list.item_h;
260
	if (WB1.list.w!=WB1.DrawBuf.bufw) WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.h * 30);
260
	if (WB1.list.w!=WB1.DrawBuf.bufw) WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.h * 30);
261
}
261
}
Line 262... Line 262...
262
 
262
 
Line 263... Line 263...
263
int list__w;
263
 
264
 
264
 
-
 
265
void Draw_Window()
265
void Draw_Window()
266
{
266
{
267
	int list__w;
267
	DrawBar(0,0, Form.cwidth,TOOLBAR_H-2, panel_color);
268
	DrawBar(0,0, Form.cwidth,TOOLBAR_H-2, panel_color);
268
	DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, 0xD7D0D3);
269
	DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, 0xD7D0D3);
269
	DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, border_color);
270
	DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, border_color);
Line 279... Line 280...
279
	DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, border_color);
280
	DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, border_color);
280
	if (!header) OpenPage(); else { WB1.DrawPage(); DrawEditBox(); }
281
	if (!header) OpenPage(); else { WB1.DrawPage(); DrawEditBox(); }
281
	DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, scroll_wv.bckg_col);
282
	DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, scroll_wv.bckg_col);
282
	DrawProgress();
283
	DrawProgress();
Line -... Line 284...
-
 
284
 
283
 
285
	/*
284
	list__w = 200;
286
	list__w = 200;
285
	font.buffer_size = 0;
287
	font.buffer_size = 0;
286
	font.size.height = 200;
288
	font.size.height = 200;
287
	font.color = 0;
289
	font.color = 0;
Line 293... Line 295...
293
	font.color = 0x2E74BB;
295
	font.color = 0x2E74BB;
294
	font.size.text = 15;
296
	font.size.text = 15;
295
	font.prepare_buf(11,40,list__w,font.size.height, "Fine");
297
	font.prepare_buf(11,40,list__w,font.size.height, "Fine");
296
	SmoothFont(font.buffer, font.size.width, font.size.height);
298
	SmoothFont(font.buffer, font.size.width, font.size.height);
297
	_PutImage(0,0,list__w,font.size.height,font.buffer);
299
	_PutImage(0,0,list__w,font.size.height,font.buffer);
-
 
300
	*/
298
}
301
}
Line 299... Line 302...
299
 
302
 
300
 
303
 
Line 370... Line 373...
370
		case DOWNLOAD_MANAGER:
373
		case DOWNLOAD_MANAGER:
371
			if (!downloader_opened) {
374
			if (!downloader_opened) {
372
				strlcpy(#DL_URL, "http://",7);
375
				strlcpy(#DL_URL, "http://",7);
373
				CreateThread(#Downloader,#downloader_stak+4092);
376
				CreateThread(#Downloader,#downloader_stak+4092);
374
			}
377
			}
375
			return; /*
-
 
376
		case 020:
-
 
377
		case NEWTAB:
-
 
378
			MoveSize(190,80,OLD,OLD);
-
 
379
			RunProgram(#program_path, #URL);
-
 
380
			return;
378
			return;
381
		case SEARCHWEB_BUTTON:
-
 
382
			sprintf(#URL,"%s%s",#search_path,#editURL);
-
 
383
			OpenPage();
-
 
384
			return; */
-
 
385
	}
379
	}
386
}
380
}
Line 387... Line 381...
387
 
381