/programs/cmm/eolite/include/breadcrumbs.h |
---|
5,6 → 5,7 |
PathShow.area_size_x = Form.cwidth-300; |
DrawBar(PathShow.start_x-3, PathShow.start_y-6, PathShow.area_size_x+3, 19, 0xFFFfff); |
DrawRectangle(PathShow.start_x-4,PathShow.start_y-7,PathShow.area_size_x+4,20,col_graph); |
DefineHiddenButton(PathShow.start_x-4+1,PathShow.start_y-7+1,PathShow.area_size_x+4-2,20-2,PATH_BTN); |
DrawBar(PathShow.start_x-4, PathShow.start_y+14, PathShow.area_size_x+4, 1, MixColors(col_work,0xFFFfff,120)); |
DrawFavButton(PathShow.start_x+PathShow.area_size_x); |
PathShow_prepare stdcall(#PathShow); |
65,7 → 66,7 |
int i; |
DrawRectangle(x,y,w,h,col_graph); |
for (i=0; i<h-1; i++) DrawBar(x+1, y+i+1, w-1, 1, col_palette_br[i]); |
DefineButton(x+1,y+1,w-2,h-2,id+BT_HIDE,0xEFEBEF); |
DefineHiddenButton(x+1,y+1,w-2,h-2,id); |
WriteText(-strlen(text)*8+w/2+x,h/2+y-7,0x90,0x444444,text); |
DrawBar(x, y+h+1, w+1, 1, MixColors(col_work,0xFFFfff,120)); |
} |
/programs/cmm/eolite/include/copy.h |
---|
28,6 → 28,7 |
dword path_len = 0; |
dword size_buf = 0; |
dword copy_buf_offset = 0; |
dword i; |
if (files.count<=0) return; //no files |
/programs/cmm/eolite/include/left_panel.h |
---|
40,7 → 40,8 |
struct _SystemDiscs |
{ |
collection list; |
byte Get(); |
int dev_num; |
void Get(); |
void Draw(); |
void Click(); |
} SystemDiscs; |
88,27 → 89,20 |
strcpy(disc_name, T_UNC); |
} |
} |
dword __countSysDiscs = 0; |
byte _SystemDiscs::Get() |
void _SystemDiscs::Get() |
{ |
byte ret = 0; |
char dev_name[10], sys_discs[10]; |
int i1, j1, dev_num, dev_disc_num; |
dword temp_file_count, tempbuf; |
int i1, j1, dev_num_i, dev_disc_num; |
dword devbuf; |
list.drop(); |
devbuf = malloc(10000); |
ReadDir(19, devbuf, "/"); |
dev_num = EBX; |
IF (dev_num != __countSysDiscs) |
dev_num = dev_num_i = EBX; |
for (i1=0; i1<dev_num_i; i1++) |
{ |
__countSysDiscs = dev_num; |
ret = 0xFF; |
} |
ELSE ret = 0; |
for (i1=0; i1<dev_num; i1++) |
{ |
sprintf(#dev_name,"/%s",i1*304+ devbuf+72); |
Open_Dir(#dev_name, ONLY_OPEN); |
dev_disc_num = files.count; |
119,13 → 113,13 |
} |
if (!strcmp(#sys_discs, "/rd/1")) |
{ |
GetDir(#tempbuf, #temp_file_count, "/kolibrios", DIRS_ONLYREAL); |
if (temp_file_count) list.add("/kolibrios"); |
free(tempbuf); |
if (dir_exists("/kolibrios")) { |
list.add("/kolibrios"); |
dev_num++; |
} |
} |
} |
free(devbuf); |
return ret; |
} |
void _SystemDiscs::Draw() |
214,6 → 208,7 |
void ActionsDraw() |
{ |
int i; |
int actions_y= SystemDiscs.list.count*16+108, lineh=16; |
Tip(actions_y-18, T_ACTIONS, 77, ""); //çàãîëîâîê |
for (i=0; actions[i*3]!=0; i++, actions_y+=lineh) |
/programs/cmm/eolite/include/properties.h |
---|
89,6 → 89,7 |
void SetProperties(byte prop) |
{ |
dword cur_file; |
dword i; |
if (prop==1) || (prop==2) |
{ |
146,6 → 147,7 |
void GetSizeMoreFiles(dword way) |
{ |
char cur_file[4096]; |
dword i; |
for (i=0; i<files.count; i++) |
{ |
/programs/cmm/eolite/include/settings.h |
---|
8,6 → 8,7 |
?define SHOW_BREADCRUMBS "ᯮ«ì§®¢ âì 'å«¥¡ë¥ ªà®èª¨'" |
?define BIG_ICONS "ᯮ«ì§®¢ âì ¡®«ì訥 ¨ª®ª¨" |
?define USE_TWO_PANELS "¢¥ ¯ ¥«¨" |
?define COLORED_LINES "®¤á¢¥ç¨¢ âì ç¥âë¥ «¨¨¨ ¢ ᯨ᪥" |
?define FONT_SIZE_LABEL " §¬¥à èà¨äâ " |
?define LIST_LINE_HEIGHT "ëá®â áâப¨ ¢ ᯨ᪥" |
?define SAVE_PATH_AS_DEFAULT "¥ªã騩 ¯ãâì" |
23,6 → 24,7 |
?define SHOW_BREADCRUMBS "Show breadcrumbs" |
?define BIG_ICONS "Big icons in list" |
?define USE_TWO_PANELS "Two panels" |
?define COLORED_LINES "Highlight even lines in list" |
?define FONT_SIZE_LABEL "Font size" |
?define LIST_LINE_HEIGHT "List line height" |
?define SAVE_PATH_AS_DEFAULT "Current path" |
44,6 → 46,7 |
checkbox show_breadcrumb = { SHOW_BREADCRUMBS }; |
checkbox big_icons = { BIG_ICONS }; |
checkbox two_panels = { USE_TWO_PANELS }; |
checkbox colored_lines = { COLORED_LINES }; |
void settings_dialog() |
88,6 → 91,7 |
two_panels.click(id); |
show_breadcrumb.click(id); |
show_status_bar.click(id); |
colored_lines.click(id); |
if (font_size.click(id)) { |
kfont.size.pt = font_size.value; |
kfont.changeSIZE(); |
108,7 → 112,7 |
case evReDraw: |
DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 400, |
410+skin_height,0x34,system.color.work,TITLE_SETT,0); |
435+skin_height,0x34,system.color.work,TITLE_SETT,0); |
GetProcessInfo(#Settings, SelfInfo); |
DrawSettingsCheckBoxes(); |
} |
135,6 → 139,7 |
show_breadcrumb.draw(x, y.inc(25)); |
big_icons.draw(x, y.inc(25)); |
two_panels.draw(x, y.inc(25)); |
colored_lines.draw(x, y.inc(25)); |
font_size.draw(x, y.inc(31)); |
line_height.draw(x, y.inc(31)); |
161,6 → 166,7 |
info_after_copy.checked = ini.GetInt("InfoAfterCopy", false); |
big_icons.checked = ini.GetInt("BigIcons", false); BigIconsSwitch(); |
two_panels.checked = ini.GetInt("TwoPanels", false); |
colored_lines.checked = ini.GetInt("ColoredLines", false); |
kfont.size.pt = ini.GetInt("FontSize", 13); |
files.item_h = ini.GetInt("LineHeight", 19); |
Form.left = ini.GetInt("WinX", 200); |
184,9 → 190,10 |
ini.SetInt("ShowStatusBar", show_status_bar.checked); |
ini.SetInt("RealFileNamesCase", show_real_names.checked); |
ini.SetInt("InfoAfterCopy", info_after_copy.checked); |
ini.SetInt("FontSize", kfont.size.pt); |
ini.SetInt("BigIcons", big_icons.checked); |
ini.SetInt("TwoPanels", two_panels.checked); |
ini.SetInt("ColoredLines", colored_lines.checked); |
ini.SetInt("FontSize", kfont.size.pt); |
ini.SetInt("LineHeight", files.item_h); |
ini.SetInt("WinX", Form.left); |
ini.SetInt("WinY", Form.top); |
/programs/cmm/eolite/include/sorting.h |
---|
1,6 → 1,7 |
void Sort_by_Size(int a, b) // äëÿ ïåðâîãî âûçîâà: a = 0, b = <ýëåìåíòîâ â ìàññèâå> - 1 |
{ |
int j; |
int iss = a; |
if (a >= b) return; |
for (j = a; j <= b; j++) |
12,6 → 13,7 |
void Sort_by_Name(int a, b) // äëÿ ïåðâîãî âûçîâà: a = 0, b = <ýëåìåíòîâ â ìàññèâå> - 1 |
{ |
int j; |
int isn = a; |
if (a >= b) return; |
for (j = a; j <= b; j++) |
23,6 → 25,7 |
void Sort_by_Type(int a, b) // äëÿ ïåðâîãî âûçîâà: a = 0, b = <ýëåìåíòîâ â ìàññèâå> - 1 |
{ |
int j; |
dword filename1, filename2, ext1, ext2; |
int n, isn = a; |
if (a >= b) return; |
/programs/cmm/eolite/include/translations.h |
---|
1,5 → 1,5 |
#define TITLE "Eolite File Manager v3.94" |
#define ABOUT_TITLE "EOLITE 3.94" |
#define TITLE "Eolite File Manager v3.96b" |
#define ABOUT_TITLE "EOLITE 3.96b" |
#ifdef LANG_RUS |
?define T_FILE " ©«" |
30,6 → 30,7 |
?define DEL_MORE_FILES_1 "¢ë¡à ë¥ í«¥¬¥âë (" |
?define DEL_MORE_FILES_2 " èâ.)?" |
?define STATUS_STR "«¥¬¥â®¢: %d ¯®ª: %d ©«®¢: %d 뤥«¥®: %d" |
?define COPY_PATH_STR "'ãâì ¯ ¯ª¨ ᪮¯¨à®¢ ¢ ¡ãä¥à ®¡¬¥ ' -I" |
#else |
?define T_FILE "File" |
?define T_TYPE "Type" |
60,4 → 61,5 |
?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 COPY_PATH_STR "'Directory path copied to clipboard' -I" |
#endif |