/programs/cmm/eolite/Eolite.c |
---|
60,8 → 60,6 |
//struct t_settings { |
byte use_big_fonts=false, |
font_type=0x80, |
font_h=9, |
sort_num=2, |
show_dev_name=true, |
real_files_names_case=false, |
615,7 → 613,7 |
ext1 = strrchr(file_name_off,'.') + file_name_off; |
if (ext1==file_name_off) ext1 = " \0"; //if no extension then show nothing |
Put_icon(ext1, files.x+3, files.line_h/2-7+y, color, 0); |
WriteText(7-strlen(ConvertSize(file.sizelo))*6+Form.cwidth - 76, files.line_h - font_h/ 2 + y,font_type,0,ConvertSize(file.sizelo)); |
WriteText(7-strlen(ConvertSize(file.sizelo))*6+Form.cwidth - 76, files.text_y + y,files.font_type,0,ConvertSize(file.sizelo)); |
} |
else |
{ |
638,7 → 636,7 |
FileShow.font_color = text_col; |
FileShow.area_size_x = files.w - 164; |
FileShow.text_pointer = file_name_off; |
FileShow.start_y = files.line_h - font_h/ 2 + y; |
FileShow.start_y = files.text_y + y; |
PathShow_prepare stdcall(#FileShow); |
PathShow_draw stdcall(#FileShow); |
} |
/programs/cmm/eolite/include/icons.h |
---|
44,7 → 44,7 |
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_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); |
if (icon_n!=17) && (strlen(extension)<9) WriteText(-FileShow.font_size_x/2*strlen(extension)+Form.cwidth-121,yy+font_half_height,files.font_type,0,extension); |
} |
/programs/cmm/eolite/include/settings.h |
---|
179,16 → 179,14 |
{ |
if (use_big_fonts) |
{ |
font_type = 10110000b; |
font_h = 14; |
FileShow.font_size_x = 8; |
files.SetFont(8, 14, 10110000b); |
FileShow.font_size_x = files.font_w; |
FileShow.font_number = 3; |
} |
else |
{ |
font_type=10000000b; |
font_h = 6; |
FileShow.font_size_x = 6; |
files.SetFont(6, 6, 10000000b); |
FileShow.font_size_x = files.font_w; |
FileShow.font_number = 0; |
} |
} |