Subversion Repositories Kolibri OS

Rev

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

Rev 7252 Rev 7278
Line 548... Line 548...
548
}
548
}
Line 549... Line 549...
549
 
549
 
550
void draw_window()
550
void draw_window()
551
{
551
{
552
	if (show_status_bar.checked) status_bar_h = STATUS_BAR_H; else status_bar_h = 0;
552
	if (show_status_bar.checked) status_bar_h = STATUS_BAR_H; else status_bar_h = 0;
553
	DefineAndDrawWindow(WinX+rand_n,WinY+rand_n,WinW,WinH,0x73,NULL,TITLE,0);
553
	DefineAndDrawWindow(Form.left+rand_n,Form.top+rand_n,Form.width,Form.height,0x73,NULL,TITLE,0);
554
	GetProcessInfo(#Form, SelfInfo);
554
	GetProcessInfo(#Form, SelfInfo);
555
	if (Form.status_window>2) return;
555
	if (Form.status_window>2) return;
556
	if (Form.height < 350) { MoveSize(OLD,OLD,OLD,350); return; }
556
	if (Form.height < 350) { MoveSize(OLD,OLD,OLD,350); return; }
557
	if (Form.width  < 480) { MoveSize(OLD,OLD,480,OLD); return; }
557
	if (Form.width  < 480) { MoveSize(OLD,OLD,480,OLD); return; }