Subversion Repositories Kolibri OS

Rev

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

Rev 8020 Rev 8261
Line 1... Line 1...
1
//11.03.12 - start!
1
//11.03.12 - start!
2
//ver 2.3
2
//ver 2.31
Line 3... Line 3...
3
 
3
 
4
#ifndef AUTOBUILD
4
#ifndef AUTOBUILD
5
	?include "lang.h--"
5
	?include "lang.h--"
Line 261... Line 261...
261
			&& (strcmpi(#temp_filename+strlen(#temp_filename)-5,".jpeg")!=0)
261
			&& (strcmpi(#temp_filename+strlen(#temp_filename)-5,".jpeg")!=0)
262
			&& (strcmpi(#temp_filename+strlen(#temp_filename)-4,".gif")!=0) continue;
262
			&& (strcmpi(#temp_filename+strlen(#temp_filename)-4,".gif")!=0) continue;
263
		}
263
		}
264
		cur = select_list.count;
264
		cur = select_list.count;
265
		files_mas[cur]=j;
265
		files_mas[cur]=j;
266
		if (!strcmpi("default.skn",#temp_filename)) files_mas[0]>
-
 
267
		select_list.count++;
266
		select_list.count++;
268
	}
267
	}
-
 
268
	Sort_by_Name(0, select_list.count-1);
-
 
269
}
-
 
270
 
-
 
271
void Sort_by_Name(int a, b) // for the first call: a = 0, b = sizeof(mas) - 1
-
 
272
{                                        
-
 
273
	int j;
-
 
274
	int isn = a;
-
 
275
	if (a >= b) return;
-
 
276
	for (j = a; j <= b; j++) {
-
 
277
		if (strcmpi(io.dir.position(files_mas[j]), io.dir.position(files_mas[b]))<=0) { 
-
 
278
			files_mas[isn] >< files_mas[j]; 
-
 
279
			isn++;
-
 
280
		}
-
 
281
	}
-
 
282
	Sort_by_Name(a, isn-2);
-
 
283
	Sort_by_Name(isn, b);
269
}
284
}
Line 270... Line 285...
270
 
285
 
271
void SelectList_DrawLine(dword i)
286
void SelectList_DrawLine(dword i)
272
{
287
{