Subversion Repositories Kolibri OS

Rev

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

Rev 5685 Rev 5687
Line 101... Line 101...
101
#endif
101
#endif
Line 102... Line 102...
102
 
102
 
103
enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir
103
enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir
Line 104... Line 104...
104
enum { CREATE_FILE=1, CREATE_FOLDER, RENAME_ITEM }; //NewElement
104
enum { CREATE_FILE=1, CREATE_FOLDER, RENAME_ITEM }; //NewElement
105
 
105
 
106
#define TITLE "Eolite File Manager v2.92"
106
#define TITLE "Eolite File Manager v2.93"
Line 107... Line 107...
107
#define ABOUT_TITLE "Eolite 2.92"
107
#define ABOUT_TITLE "Eolite 2.93"
108
dword col_padding, col_selec, col_lpanel;
108
dword col_padding, col_selec, col_lpanel;
Line 130... Line 130...
130
	new_element_active=0,
130
	new_element_active=0,
131
	show_dev_name=1,
131
	show_dev_name=1,
132
	real_files_names_case=0,
132
	real_files_names_case=0,
133
	use_big_fonts=0,
133
	use_big_fonts=0,
134
	font_type,
134
	font_type,
-
 
135
	font_h,
135
	info_after_copy=0,
136
	info_after_copy=0,
136
	sort_num=2,
137
	sort_num=2,
137
	itdir;
138
	itdir;
Line 138... Line 139...
138
 
139
 
Line 741... Line 742...
741
	file_name_off = file_offet+40;
742
	file_name_off = file_offet+40;
Line 742... Line 743...
742
 
743
 
743
	if (! TestBit(attr, 4) ) //file or folder?
744
	if (! TestBit(attr, 4) ) //file or folder?
744
	{	
745
	{	
745
		Put_icon(file_name_off+_strrchr(file_name_off,'.'), files.x+3, files.line_h/2-7+y, color, 0);
746
		Put_icon(file_name_off+_strrchr(file_name_off,'.'), files.x+3, files.line_h/2-7+y, color, 0);
746
		WriteText(7-strlen(ConvertSize(file.sizelo))*6+Form.cwidth - 76,files.line_h-6/2+y,font_type,0,ConvertSize(file.sizelo));
747
		WriteText(7-strlen(ConvertSize(file.sizelo))*6+Form.cwidth - 76, files.line_h - font_h/ 2 + y,font_type,0,ConvertSize(file.sizelo));
747
	}
748
	}
748
	else
749
	else
749
	{
750
	{
750
		if (!strncmp(file_name_off,"..",3)) ext1=".."; else ext1="";
751
		if (!strncmp(file_name_off,"..",3)) ext1=".."; else ext1="";
Line 762... Line 763...
762
	if (file.selected) text_col=0xFF0000;
763
	if (file.selected) text_col=0xFF0000;
763
	if (Form.width>=480)
764
	if (Form.width>=480)
764
	{
765
	{
765
		FileShow.start_x = files.x + 23;
766
		FileShow.start_x = files.x + 23;
766
		FileShow.font_color = text_col;
767
		FileShow.font_color = text_col;
767
		FileShow.area_size_x = Form.width - 380;
768
		FileShow.area_size_x = files.w - 164;
768
		FileShow.text_pointer = file_name_off;
769
		FileShow.text_pointer = file_name_off;
769
		FileShow.start_y = files.text_y+y;
770
		FileShow.start_y = files.line_h - font_h/ 2 + y;
770
		PathShow_prepare stdcall(#FileShow);
771
		PathShow_prepare stdcall(#FileShow);
771
		PathShow_draw stdcall(#FileShow);
772
		PathShow_draw stdcall(#FileShow);
772
	}
773
	}
773
	DrawBar(Form.cwidth-159,y,1,files.line_h,system.color.work); //gray line 1
774
	DrawBar(Form.cwidth-159,y,1,files.line_h,system.color.work); //gray line 1
774
	DrawBar(Form.cwidth-86,y,1,files.line_h,system.color.work); //gray line 2
775
	DrawBar(Form.cwidth-86,y,1,files.line_h,system.color.work); //gray line 2