Subversion Repositories Kolibri OS

Rev

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

Rev 5833 Rev 5834
Line 16... Line 16...
16
#include "..\lib\random.h"
16
#include "..\lib\random.h"
17
#include "..\lib\font.h"
17
#include "..\lib\font.h"
18
//obj
18
//obj
19
#include "..\lib\obj\libini.h"
19
#include "..\lib\obj\libini.h"
20
#include "..\lib\obj\box_lib.h"
20
#include "..\lib\obj\box_lib.h"
-
 
21
 
-
 
22
byte CMD_ENABLE_SAVE_IMG = false;
-
 
23
 
21
//images
24
//images
22
#include "imgs\toolbar.txt"
25
#include "imgs\toolbar.txt"
23
#include "imgs\left_p.txt"
26
#include "imgs\left_p.txt"
24
#include "imgs\icons.txt"
27
#include "imgs\icons.txt"
Line 87... Line 90...
87
PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0};
90
PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0};
88
PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0};
91
PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0};
89
byte cmd_free=0;
92
byte cmd_free=0;
90
#include "include\translations.h"
93
#include "include\translations.h"
91
#include "include\fs.h"
94
#include "include\fs.h"
-
 
95
 
-
 
96
char *fd_path_eolite_ini_path;
-
 
97
 
92
#include "include\settings.h"
98
#include "include\settings.h"
93
#include "include\progress_dialog.h"
99
#include "include\progress_dialog.h"
94
#include "..\lib\copyf.h"
100
#include "..\lib\copyf.h"
95
#include "include\copy.h"
101
#include "include\copy.h"
96
#include "include\gui.h"
102
#include "include\gui.h"
Line 101... Line 107...
101
#include "include\menu.h"
107
#include "include\menu.h"
102
#include "include\about.h"
108
#include "include\about.h"
103
#include "include\properties.h"
109
#include "include\properties.h"
Line -... Line 110...
-
 
110
 
104
 
111
 
105
 
112
//char *TMP_PARS,*TMP_PARS2;
106
void main() 
113
void main() 
-
 
114
{
107
{
115
	word id;
108
	word id;
116
	byte count_sl = 0;
109
	signed x_old, y_old, dif_x, dif_y, adif_x, adif_y;
117
	signed x_old, y_old, dif_x, dif_y, adif_x, adif_y;
110
	char can_show, can_select, stats;
118
	char can_show, can_select, stats;
111
	dword selected_offset;
119
	dword selected_offset;
112
	dword IPC_LEN,IPC_ID;
120
	dword IPC_LEN,IPC_ID;
Line 113... Line 121...
113
	char IPC_BUF[10];
121
	char IPC_BUF[10];
114
	rand_n = random(40);
122
	rand_n = random(40);
115
 
123
 
-
 
124
	load_dll(boxlib, #box_lib_init,0);
-
 
125
    load_dll(libini, #lib_init,1);
-
 
126
	eolite_ini_path = abspath("Eolite.ini");
-
 
127
	
-
 
128
	fd_path_eolite_ini_path = "/fd/1/File Managers/Eolite.ini";
-
 
129
	/*
-
 
130
	TMP_PARS2 = #fd_path_eolite_ini_path;
-
 
131
	WHILE(DSBYTE[TMP_PARS])
-
 
132
	{
-
 
133
		IF(count_sl!=1)
-
 
134
		{
-
 
135
			DSBYTE[TMP_PARS2] = DSBYTE[TMP_PARS];
-
 
136
			TMP_PARS2++;
-
 
137
		}
-
 
138
		ELSE IF(count_sl==2)
-
 
139
		{
-
 
140
			strlcpy(TMP_PARS2,"fd",2);
-
 
141
			TMP_PARS2+=2;
-
 
142
		}
-
 
143
		IF(DSBYTE[TMP_PARS]=='/')count_sl++;
-
 
144
		TMP_PARS++;
116
	load_dll(boxlib, #box_lib_init,0);
145
	}
117
    load_dll(libini, #lib_init,1);
146
	*/
118
	eolite_ini_path = abspath("Eolite.ini");
147
	
119
	LoadIniSettings();
148
	LoadIniSettings();
120
	GetSystemDiscs();
149
	GetSystemDiscs();