Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5743 → Rev 5745

/programs/cmm/eolite/Eolite.c
130,7 → 130,6
Open_Dir(#path,ONLY_OPEN);
strcpy(#inactive_path, #path);
llist_copy(#files_inactive, #files);
//font.load("/sys/font/Verdana.kf");
SetEventMask(1100111b);
loop(){
switch(WaitEvent())
688,6 → 687,8
if (text_col==0xA6A6B7) text_col=0xFFFFFF;
}
if (file.selected) text_col=0xFF0000;
if (font_size==9) || (!font.data)
{
if (Form.width>=480)
{
FileShow.start_x = files.x + 23;
698,6 → 699,12
PathShow_prepare stdcall(#FileShow);
PathShow_draw stdcall(#FileShow);
}
}
else
{
font.bg_color = color;
font.text(files.x + 23, files.line_h - font.height / 2 - 1 + y, file_name_off, 0, font_size);
}
DrawBar(files.x+files.w-141,y,1,files.line_h,system.color.work); //gray line 1
DrawBar(files.x+files.w-68,y,1,files.line_h,system.color.work); //gray line 2
}
/programs/cmm/eolite/include/settings.h
47,8 → 47,8
else if (id==26) && (files.line_h>18) files.line_h--;
else if (id==27) MOUSE_TIME++;
else if (id==28) && (MOUSE_TIME>29) MOUSE_TIME--;
else if (id==30) && (font_size<30) { font_size++; BigFontsChange(); }
else if (id==31) && (font_size>10) { font_size--; BigFontsChange(); }
else if (id==30) && (font_size<22) { font_size++; BigFontsChange(); }
else if (id==31) && (font_size>9) { font_size--; BigFontsChange(); }
SaveIniSettings();
EventRedrawWindow(Form.left,Form.top);
DrawSettingsCheckBoxes();
81,9 → 81,9
CheckBox2(10, 33, 21, SHOW_REAL_NAMES, real_files_names_case);
CheckBox2(10, 55, 22, NOTIFY_COPY_END, info_after_copy);
CheckBox2(10, 77, 24, USE_TWO_PANELS, two_panels);
MoreLessBox(10, 103, 18, 30, 31, #system.color, font_size, FONT_SIZE_LABEL);
MoreLessBox(10, 103, 18, 27, 28, #system.color, MOUSE_TIME, T_DOUBLE_CLICK);
MoreLessBox(10, 130, 18, 25, 26, #system.color, files.line_h, LIST_LINE_HEIGHT);
MoreLessBox(10, 157, 18, 27, 28, #system.color, MOUSE_TIME, T_DOUBLE_CLICK);
if (font.data) MoreLessBox(10, 157, 18, 30, 31, #system.color, font_size, FONT_SIZE_LABEL);
}
 
 
98,6 → 98,8
ini_get_int stdcall (eolite_ini_path, #confir_section, "LineHeight", 18); files.line_h = EAX;
ini_get_int stdcall (eolite_ini_path, #confir_section, "TimeDoubleClick", 50); MOUSE_TIME = EAX;
BigFontsChange();
font.no_bg_copy = true;
font.load("/sys/font/Tahoma.kf");
}
 
 
142,20 → 144,12
{
files.line_h = font.height + 4;
if (files.line_h<18) files.line_h = 18;
files_active.line_h = files_inactive.line_h = files.line_h;
 
if (font_size!=9)
{
files.SetFont(8, 14, 10110000b);
FileShow.font_size_x = files.font_w;
FileShow.font_number = 3;
}
else
{
files.SetFont(6, 6, 10000000b);
FileShow.font_size_x = files.font_w;
FileShow.font_number = 0;
}
}
 
 
void CheckBox2(dword x, y, id, text, byte value) {
/programs/cmm/eolite/include/translations.h
1,5 → 1,5
#define TITLE "Eolite File Manager v3.01"
#define ABOUT_TITLE "Eolite 3.01"
#define TITLE "Eolite File Manager v3.05"
#define ABOUT_TITLE "Eolite 3.05"
 
#ifdef LANG_RUS
?define T_FILE "” ©«"