Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5686 → Rev 5687

/programs/cmm/eolite/include/icons.h
29,7 → 29,7
 
void Put_icon(dword extension, xx, yy, fairing_color, icon_n)
{
int i, font_half_width;
int i, font_half_height;
 
if (extension) for (i=0; ext[i]!=0; i+=2;)
{
43,8 → 43,8
ficons_pal[0] = fairing_color;
PutPaletteImage(icon_n*16*15+#ficons,16,15,xx,yy,8,#ficons_pal);
if (fairing_color!=0xFFFfff) IconFairing(icon_n, xx, yy, fairing_color);
if (use_big_fonts) font_half_width=4; else font_half_width=3;
if (icon_n!=17) && (strlen(extension)<9) WriteText(-strlen(extension)*font_half_width+Form.cwidth-120,yy+4,font_type,0,extension);
if (use_big_fonts) font_half_height=0; else font_half_height=4;
if (icon_n!=17) && (strlen(extension)<9) WriteText(-FileShow.font_size_x/2*strlen(extension)+Form.cwidth-121,yy+font_half_height,font_type,0,extension);
}