Subversion Repositories Kolibri OS

Rev

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

Rev 5985 Rev 5987
Line 700... Line 700...
700
		strcpy(#file_name, file_name_off);
700
		strcpy(#file_name, file_name_off);
701
		sprintf(#file_path,"%s%s",#path,file_name_off);
701
		sprintf(#file_path,"%s%s",#path,file_name_off);
702
		if (text_col==0xA6A6B7) text_col=0xFFFFFF;
702
		if (text_col==0xA6A6B7) text_col=0xFFFFFF;
703
	}
703
	}
704
	if (file.selected) text_col=0xFF0000;
704
	if (file.selected) text_col=0xFF0000;
705
	if (font.size.text==9) || (!font.data)
705
	if (label.size.pt==9) || (!label.font)
706
	{
706
	{
707
		if (Form.width>=480)
707
		if (Form.width>=480)
708
		{
708
		{
709
			FileShow.start_x = files.x + 23;
709
			FileShow.start_x = files.x + 23;
710
			FileShow.font_color = text_col;
710
			FileShow.font_color = text_col;
Line 715... Line 715...
715
			PathShow_draw stdcall(#FileShow);
715
			PathShow_draw stdcall(#FileShow);
716
		}		
716
		}		
717
	}
717
	}
718
	else
718
	else
719
	{
719
	{
720
		font.bg_color = bgcol;
-
 
721
		font.smooth = smooth_font;
720
		label.smooth = smooth_font;
722
		font.write(files.x + 23, files.item_h - font.height / 2 + y, file_name_off);
721
		label.write(files.x + 23, files.item_h - label.height / 2 + y, bgcol, text_col, label.size.pt, file_name_off);
723
	}
722
	}
724
	DrawBar(files.x+files.w-141,y,1,files.item_h,system.color.work); //gray line 1
723
	DrawBar(files.x+files.w-141,y,1,files.item_h,system.color.work); //gray line 1
725
	DrawBar(files.x+files.w-68,y,1,files.item_h,system.color.work); //gray line 2
724
	DrawBar(files.x+files.w-68,y,1,files.item_h,system.color.work); //gray line 2
726
}
725
}