Subversion Repositories Kolibri OS

Rev

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

Rev 7096 Rev 7149
Line 30... Line 30...
30
}
30
}
Line 31... Line 31...
31
 
31
 
32
 
32
 
33
void IconFairing(dword filenum, x,y, color)
33
void IconFairing(dword filenum, x,y, color)
-
 
34
{
-
 
35
	//0 = folder
34
{
36
	//22 = forder with up arrow
35
	switch(filenum)
-
 
36
	{
-
 
37
		case 0: //folder
37
	if (filenum == 0) || (filenum == 22)
38
		case 22: //
-
 
39
			DrawBar(x+7,y+1,8,2,color);
38
	{
40
			IF (filenum==22) PutPixel(x+10,y+2,0x1A7B17); //green arrow part
39
		DrawBar(x+7,y+1,8,2,color);
41
			DrawBar(x,y+14,15,2,color);
40
		DrawBar(x,y+14,15,2,color);
42
			PutPixel(x,y+1,color);
41
		PutPixel(x,y+1,color);
43
			PutPixel(x+6,y+1,color);
42
		PutPixel(x+6,y+1,color);
44
			PutPixel(x+14,y+3,color);
43
		PutPixel(x+14,y+3,color);
45
			PutPixel(x,y+13,color);
44
		PutPixel(x,y+13,color);
46
			PutPixel(x+14,y+13,color);
45
		PutPixel(x+14,y+13,color);
-
 
46
		debugi(filenum);
47
			return;
47
	}