Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7796 → Rev 7804

/programs/cmm/eolite/Eolite.c
432,7 → 432,6
EventSelectAllFiles(true);
break;
case SCAN_CODE_KEY_U: //unselect all files
selected_count = 0;
EventSelectAllFiles(false);
break;
}
529,7 → 528,7
//main rectangles
DrawRectangle(1,40,Form.cwidth-3,Form.cheight - 42-status_bar_h,col.graph);
DrawRectangle(0,39,Form.cwidth-1,-show_status_bar.checked*status_bar_h + Form.cheight - 40,col.work_gradient[4]); //bg
for (i=0; i<5; i++) DrawBar(0, 34+i, Form.cwidth, 1, col.work_gradient[-i*3+15]);
for (i=0; i<6; i++) DrawBar(0, 34+i, Form.cwidth, 1, MixColors(system.color.work_dark, system.color.work, i*10));
llist_copy(#files_active, #files);
strcpy(#active_path, #path);
DrawStatusBar();
562,9 → 561,14
if (!show_status_bar.checked) return;
if (files.count>0) && (strcmp(file_mas[0]*304+buf+72,"..")==0) go_up_folder_exists=1;
DrawBar(0, Form.cheight - status_bar_h, Form.cwidth, status_bar_h, system.color.work);
sprintf(#status_bar_str, STATUS_STR, files.count-go_up_folder_exists, count_dir-go_up_folder_exists, files.count-count_dir, selected_count);
sprintf(#status_bar_str, T_STATUS_EVEMENTS, count_dir-go_up_folder_exists, files.count-count_dir);
WriteText(6,Form.cheight - 13,0x80,system.color.work_text,#status_bar_str);
if (selected_count) {
sprintf(#status_bar_str, T_STATUS_SELECTED, selected_count);
WriteText(Form.cwidth - calc(strlen(#status_bar_str)*6)-6,Form.cheight - 13,
0x80,system.color.work_text,#status_bar_str);
}
}
 
void DrawFilePanels()
{
/programs/cmm/eolite/include/copy.h
14,6 → 14,7
}
if (state==true) selected_count++;
if (state==false) selected_count--;
if (selected_count<0) selected_count=0;
}
 
int getElementSelectedFlag(dword n) {
/programs/cmm/eolite/include/gui.h
64,14 → 64,7
}
 
void DrawFilledBar(dword x, y, w, h)
{
int i, fill_h;
if (h < 12) {
for (i=0; i<h; i++) DrawBar(x, y+i, w, 1, col.work_gradient[-i*3+15]);
} else {
DrawBar(x, y, w, h, col.work_gradient[12]);
}
}
{ int i; for (i=0; i<h; i++) DrawBar(x, y+h-i-1, w, 1, col.work_gradient[i]); }
 
int popin_w=260;
void DrawEolitePopup(dword b1_text, b2_text)
/programs/cmm/eolite/include/settings.h
267,7 → 267,7
}
col.selec_inactive = MixColors(0xBBBbbb, col.list_bg, 65);
col.slider_bg_left = MixColors(col.graph, col.slider_bg_big, 10);
for (i=0; i<=20; i++) col.work_gradient[20-i] = MixColors(0, system.color.work, i);
for (i=0; i<20; i++) col.work_gradient[i] = MixColors(system.color.work_light, system.color.work, i*5);
if (old_list_bg_color!=col.list_bg) LoadIcons();
}
 
/programs/cmm/eolite/include/translations.h
1,5 → 1,5
#define TITLE "Eolite File Manager 4.22"
#define ABOUT_TITLE "EOLITE 4.22"
#define TITLE "Eolite File Manager 4.23"
#define ABOUT_TITLE "EOLITE 4.23"
 
#ifdef LANG_RUS
?define T_FILE "” ©«"
26,7 → 26,8
?define T_SELECT_APP_TO_OPEN_WITH "‚ë¡¥à¨â¥ ¯à®£à ¬¬ã ¤«ï ®âªàëâ¨ï ä ©« "
?define DEL_MORE_FILES_1 "¢ë¡à ­­ë¥ í«¥¬¥­âë ("
?define DEL_MORE_FILES_2 " èâ.)?"
?define STATUS_STR "«¥¬¥­â®¢: %d  ¯®ª: %d ” ©«®¢: %d ‚뤥«¥­­®: %d"
?define T_STATUS_EVEMENTS " ¯®ª: %d ” ©«®¢: %d"
?define T_STATUS_SELECTED "‚뤥«¥­­®: %d"
?define COPY_PATH_STR "'ãâì ¯ ¯ª¨ ᪮¯¨à®¢ ­ ¢ ¡ãä¥à ®¡¬¥­ ' -I"
?define T_ABOUT "Ž ¯à®£à ¬¬¥"
#else
55,7 → 56,8
?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file"
?define DEL_MORE_FILES_1 "selected items("
?define DEL_MORE_FILES_2 " pcs.)?"
?define STATUS_STR "Elements: %d Dirs: %d Files: %d Selected: %d"
?define T_STATUS_EVEMENTS "Dirs: %d Files: %d"
?define T_STATUS_SELECTED "Selected: %d"
?define COPY_PATH_STR "'Directory path copied to clipboard' -I"
?define T_ABOUT "About"
#endif