Subversion Repositories Kolibri OS

Rev

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

Rev 6649 Rev 6678
Line 105... Line 105...
105
//} settings;
105
//} settings;
Line 106... Line 106...
106
 
106
 
107
#define STATUS_BAR_H 16;
107
#define STATUS_BAR_H 16;
Line 108... Line 108...
108
int status_bar_h = 0;
108
int status_bar_h = 0;
109
 
109
 
110
edit_box new_file_ed = {171,213,180,0xFFFFFF,0x94AECE,0xFFFFFF,0xFFFFFF,0,248,#new_element_name,#mouse_dd,100000000000010b,6,0};
110
edit_box new_file_ed = {200,213,180,0xFFFFFF,0x94AECE,0xFFFFFF,0xFFFFFF,0x10000000,248,#new_element_name,#mouse_dd,100000000000010b,6,0};
111
PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0};
111
PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0};
112
byte cmd_free=0;
112
byte cmd_free=0;
Line 553... Line 553...
553
}
553
}
Line 554... Line 554...
554
 
554
 
555
void DrawList() 
555
void DrawList() 
556
{
556
{
557
	word sorting_arrow_x;
557
	word sorting_arrow_x;
558
	DrawFlatButton(files.x, files.y-17,     files.w - 141,16,31,T_FILE);
558
	DrawFlatButtonSmall(files.x, files.y-17,     files.w - 141,16,31,T_FILE);
559
	DrawFlatButton(files.x + files.w - 141, files.y-17,73,16,32,T_TYPE);
559
	DrawFlatButtonSmall(files.x + files.w - 141, files.y-17,73,16,32,T_TYPE);
560
	DrawFlatButton(files.x + files.w -  68, files.y-17,68,16,33,T_SIZE);
560
	DrawFlatButtonSmall(files.x + files.w -  68, files.y-17,68,16,33,T_SIZE);
561
	DrawFlatButton(files.x + files.w,       files.y-17,16,16, 0,"\x18");
561
	DrawFlatButtonSmall(files.x + files.w,       files.y-17,16,16, 0,"\x18");
562
	DrawFlatButton(files.x + files.w,files.y+files.h-16,16,16,0,"\x19");
562
	DrawFlatButtonSmall(files.x + files.w,files.y+files.h-16,16,16,0,"\x19");
563
	if (sort_num==1) sorting_arrow_x = files.w - 141 / 2 + files.x + 18;
563
	if (sort_num==1) sorting_arrow_x = files.w - 141 / 2 + files.x + 18;
564
	if (sort_num==2) sorting_arrow_x = files.x + files.w - 90;
564
	if (sort_num==2) sorting_arrow_x = files.x + files.w - 90;
565
	if (sort_num==3) sorting_arrow_x = strlen(T_SIZE)*3-30+files.x+files.w;
565
	if (sort_num==3) sorting_arrow_x = strlen(T_SIZE)*3-30+files.x+files.w;
566
	WriteText(sorting_arrow_x,files.y-12,0x80,col_graph,"\x19");
566
	WriteText(sorting_arrow_x,files.y-12,0x80,col_graph,"\x19");
Line 1005... Line 1005...
1005
		strcpy(#new_element_name, strng);
1005
		strcpy(#new_element_name, strng);
1006
		new_file_ed.size = new_file_ed.pos = strlen(strng);
1006
		new_file_ed.size = new_file_ed.pos = strlen(strng);
1007
	}
1007
	}
1008
	if (new_element_active==3) DrawEolitePopup(T_RENAME, T_CANCEL);
1008
	if (new_element_active==3) DrawEolitePopup(T_RENAME, T_CANCEL);
1009
	else DrawEolitePopup(T_CREATE, T_CANCEL);
1009
	else DrawEolitePopup(T_CREATE, T_CANCEL);
1010
	new_file_ed.left = dform_x+24;
1010
	new_file_ed.left = dform_x+10;
1011
	DrawEditBox(#new_file_ed);
1011
	DrawEditBox(#new_file_ed);
1012
}
1012
}
Line 1013... Line 1013...
1013
 
1013
 
1014
void FnProcess(byte N)
1014
void FnProcess(byte N)