Subversion Repositories Kolibri OS

Rev

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

Rev 6678 Rev 6735
Line 69... Line 69...
69
int selected_count;
69
int selected_count;
70
int count_dir;
70
int count_dir;
Line 71... Line 71...
71
 
71
 
72
byte
72
byte
73
	path[4096],
-
 
74
	DefaultPath[4096],
73
	path[4096],
75
	file_path[4096],
74
	file_path[4096],
76
	file_name[256],
75
	file_name[256],
77
	new_element_name[256],
76
	new_element_name[256],
78
	temp[4096],
77
	temp[4096],
Line 89... Line 88...
89
proc_info Form;
88
proc_info Form;
90
int mouse_dd, sc_slider_h;
89
int mouse_dd, sc_slider_h;
91
int j, i;
90
int j, i;
92
int action_buf;
91
int action_buf;
93
int rand_n;
92
int rand_n;
94
byte CMD_REFRESH;
-
 
Line 95... Line 93...
95
 
93
 
96
//struct t_settings {
94
//struct t_settings {
97
char sort_num=2;
95
char sort_num=2;
98
bool show_dev_name=true,
96
bool show_dev_name=true,
Line 132... Line 130...
132
void main() 
130
void main() 
133
{
131
{
134
	dword id;
132
	dword id;
135
	byte count_sl = 0;
133
	byte count_sl = 0;
136
	signed x_old, y_old, dif_x, dif_y, adif_x, adif_y;
134
	signed x_old, y_old, dif_x, dif_y, adif_x, adif_y;
137
	char can_show, can_select, stats;
-
 
138
	dword selected_offset;
-
 
139
	dword IPC_LEN,IPC_ID;
-
 
140
	char IPC_BUF[10];
135
	char stats;
141
	rand_n = random(40);
136
	rand_n = random(40);
Line 142... Line 137...
142
 
137
 
143
	load_dll(boxlib, #box_lib_init,0);
138
	load_dll(boxlib, #box_lib_init,0);
Line 408... Line 403...
408
								strcat(#temp, #file_path);
403
								strcat(#temp, #file_path);
409
								RunProgram("/sys/media/kiv", #temp);
404
								RunProgram("/sys/media/kiv", #temp);
410
								break;
405
								break;
411
						case 049: //Ctrl+N - create new window
406
						case 049: //Ctrl+N - create new window
412
								if (Form.left==98) MoveSize(Form.left-20,Form.top-20,OLD,OLD);
407
								if (Form.left==98) MoveSize(Form.left-20,Form.top-20,OLD,OLD);
413
								RunProgram("/sys/File Managers/Eolite", #path);
408
								RunProgram(I_Path, #path);
414
								break; 
409
								break; 
415
						case 050: //Ctrl+M
410
						case 050: //Ctrl+M
416
								Open_Dir(#inactive_path,WITH_REDRAW);
411
								Open_Dir(#inactive_path,WITH_REDRAW);
417
								break; 
412
								break; 
418
						case SCAN_CODE_ENTER: //Ctrl+Enter
413
						case SCAN_CODE_ENTER: //Ctrl+Enter
Line 879... Line 874...
879
	selected_count = 0;
874
	selected_count = 0;
880
	if (rez)
875
	if (rez)
881
	{
876
	{
882
		if (!strncmp(#file_name,"..",3)) return;
877
		if (!strncmp(#file_name,"..",3)) return;
883
		strcpy(#temp, #file_path);
878
		strcpy(#temp, #file_path);
884
		RunProgram("/sys/File Managers/Eolite", #temp);
879
		RunProgram(I_Path, #temp);
885
		return;
880
		return;
886
	}
881
	}
887
	if (!files.count) return;
882
	if (!files.count) return;
888
	if (!itdir)
883
	if (!itdir)
889
	{
884
	{