/programs/cmm/template/Tupfile.lua |
---|
File deleted |
/programs/cmm/template/template.c |
---|
File deleted |
/programs/cmm/template/compile_en.bat |
---|
File deleted |
\ No newline at end of file |
/programs/cmm/eolite/Eolite.c |
---|
3,8 → 3,8 |
// 70.5 - get volume info and label |
#define TITLE "Eolite File Manager 4.70" |
#define ABOUT_TITLE "EOLITE 4.70" |
#define TITLE "Eolite File Manager 4.80" |
#define ABOUT_TITLE "EOLITE 4.80" |
#ifndef AUTOBUILD |
#include "lang.h--" |
655,6 → 655,8 |
void DrawFilePanels() |
{ |
int files_y; |
int w2 = -Form.cwidth-1/2+Form.cwidth; |
int h2; |
if (!two_panels.checked) |
{ |
DrawDeviceAndActionsLeftPanel(); |
670,6 → 672,7 |
col.selec = col.selec_inactive; |
SystemDiscs.Draw(); |
files_y = files.y; |
h2 = Form.cheight-files_y-2 - status_bar_h; |
if (active_panel==1) |
{ |
676,25 → 679,25 |
llist_copy(#files, #files_inactive); |
strcpy(#path, #inactive_path); |
col.selec = col.selec_inactive; //this is a bad code: need to use some var to set inactive panel for DrawList(); |
files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y-2 - status_bar_h, files.item_h); |
files.SetSizes(Form.cwidth/2, files_y, w2-17, h2, files.item_h); |
DrawList(); |
Open_Dir(#path,WITH_REDRAW); |
llist_copy(#files, #files_active); |
strcpy(#path, #active_path); |
col.selec = col.selec_active; |
files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y-2 - status_bar_h, files.item_h); |
files.SetSizes(2, files_y, Form.cwidth/2-2-17, h2, files.item_h); |
DrawList(); |
Open_Dir(#path,WITH_REDRAW); |
} |
if (active_panel==2) |
{ |
files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y-2 - status_bar_h, files.item_h); |
files.SetSizes(2, files_y, Form.cwidth/2-2-17, h2, files.item_h); |
DrawList(); |
Open_Dir(#path,WITH_REDRAW); |
llist_copy(#files, #files_active); |
strcpy(#path, #active_path); |
col.selec = col.selec_active; |
files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y-2 - status_bar_h, files.item_h); |
files.SetSizes(Form.cwidth/2, files_y, w2 -17, h2, files.item_h); |
DrawList(); |
Open_Dir(#path,WITH_REDRAW); |
} |
/programs/cmm/eolite/include/copy_and_delete.h |
---|
109,7 → 109,7 |
void PasteThread() |
{ |
char copy_rezult; |
int j; |
int j, i, slash_count=0; |
int paste_elements_count = 0; |
dword buf; |
dword path_offset; |
125,7 → 125,26 |
DisplayOperationForm(COPY_FLAG); |
} |
if (cut_active) { |
for (j = 0; j < paste_elements_count; j++) { |
sprintf(#copy_to, "%s/%s", #path, path_offset+strrchr(path_offset,'/')); |
slash_count = 0; |
for (i=0; i<=10; i++) { |
if (copy_to[i]=='/') slash_count++; |
if (slash_count==3) break; |
} |
if (strncmp(#copy_to, path_offset, i)!=0) goto _DIFFERENT_DRIVES; |
RenameMove(#copy_to+i, path_offset); |
if (EAX!=0) goto _DIFFERENT_DRIVES; |
path_offset += strlen(path_offset) + 1; |
} |
cut_active=false; |
DialogExit(); |
} |
_DIFFERENT_DRIVES: |
path_offset = buf + 10; |
for (j = 0; j < paste_elements_count; j++) { |
copy_bar.max += GetFilesCount(path_offset); |
path_offset += strlen(path_offset) + 1; |
} |
/programs/cmm/eolite/include/icons.h |
---|
21,8 → 21,6 |
default_icon=2; |
} |
//KolibriNext |
/* |
if (chrnum(file_path, '/')==2) { |
if (ESBYTE[file_path+1]=='/') ext[0] = ESBYTE[file_path+2]; |
else ext[0] = ESBYTE[file_path+1]; |
34,9 → 32,7 |
icons_ini.section = "drives16"; |
icon_n = icons_ini.GetInt(#ext, 50); |
} |
} else |
*/ |
if (extension) { |
} else if (extension) { |
strcpy(#ext, extension); |
strlwr(#ext); |
icon_n = icons_ini.GetInt(#ext, default_icon); |
/programs/cmm/eolite/include/left_panel.h |
---|
3,8 → 3,8 |
?define T_DEVICES "áâனá⢠" |
?define T_ACTIONS "¥©á⢨ï" |
char *actions[] = { |
57, "®¢ë© ä ©«", "F7", |
56, "®¢ ï ¯ ¯ª ", "F6", |
57, "®¢ë© ä ©«", "F9", |
56, "®¢ ï ¯ ¯ª ", "F7", |
60, " áâனª¨", "F10", |
0,0,0 |
}; |
21,8 → 21,8 |
?define T_DEVICES "Devices" |
?define T_ACTIONS "Actions" |
char *actions[] = { |
57, "New file", "F7", |
56, "New folder", "F6", |
57, "New file", "F9", |
56, "New folder", "F7", |
60, "Settings", "F10", |
0,0,0 |
}; |
/programs/cmm/eolite/include/menu.h |
---|
79,7 → 79,7 |
Paste |Crl+V |
- |
Delete |Del |
Properties |F8"; |
Properties |F1"; |
char empty_folder_actions[]= |
"Paste |Crl+V"; |
char burger_menu_items[] = |
/programs/cmm/eolite/include/settings.h |
---|
155,13 → 155,13 |
show_status_bar.checked = ini.GetInt("ShowStatusBar", true); |
big_icons.checked = ini.GetInt("BigIcons", false); BigIconsSwitch(); |
//two_panels.checked = ini.GetInt("TwoPanels", false); |
colored_lines.checked = ini.GetInt("ColoredLines", efm); |
colored_lines.checked = ini.GetInt("ColoredLines", true); |
kfont.size.pt = ini.GetInt("FontSize", 13); |
files.item_h = ini.GetInt("LineHeight", 19); |
Form.left = ini.GetInt("WinX", 100); |
Form.top = ini.GetInt("WinY", 30); |
Form.width = ini.GetInt("WinW", efm*170+550); |
Form.height = ini.GetInt("WinH", efm*116+503); |
Form.height = ini.GetInt("WinH", efm*100+517); |
ini.GetString("DefaultPath", #path, 4096, "/rd/1"); |
ini.GetString("DefaultPath", #path_start, 4096, "/rd/1"); |
path_start_ed.size = path_start_ed.pos = strlen(#path_start); |