Subversion Repositories Kolibri OS

Rev

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

Rev 7256 Rev 7266
Line 36... Line 36...
36
				icon_n = icons_ini.GetInt("kex", 2);
36
				icon_n = icons_ini.GetInt("kex", 2);
37
	}
37
	}
38
	if (fairing_color==col_selec)
38
	if (fairing_color==col_selec)
39
	{
39
	{
40
		img_draw stdcall(selected_image, xx, yy, icon_size, icon_size, 0, icon_n*icon_size);
40
		img_draw stdcall(selected_image, xx, yy, icon_size, icon_size, 0, icon_n*icon_size);
41
		if (big_icons.checked==false) IconFairing(icon_n, xx, yy, fairing_color);
-
 
42
	}
41
	}
43
	else 
42
	else 
44
	{
43
	{
45
		img_draw stdcall(default_image, xx, yy, icon_size, icon_size, 0, icon_n*icon_size);
44
		img_draw stdcall(default_image, xx, yy, icon_size, icon_size, 0, icon_n*icon_size);
46
	}
45
	}
47
}
46
}
Line 48... Line -...
48
 
-
 
49
 
-
 
50
void IconFairing(dword filenum, x,y, color)
-
 
51
{
-
 
52
	//0 = folder
-
 
53
	//22 = forder with up arrow
-
 
54
	if (filenum == 0) || (filenum == 22)
-
 
55
	{
-
 
56
		DrawBar(x+7,y+1,8,2,color);
-
 
57
		DrawBar(x,y+14,15,2,color);
-
 
58
		PutPixel(x,y+1,color);
-
 
59
		PutPixel(x+6,y+1,color);
-
 
60
		PutPixel(x+14,y+3,color);
-
 
61
		PutPixel(x,y+13,color);
-
 
62
		PutPixel(x+14,y+13,color);
-
 
63
	}
-
 
64
	if (filenum == 22) PutPixel(x+10,y+2,0x1A7B17); //green arrow part
-