Rev 8956 | Rev 8983 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8956 | Rev 8981 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | TODO: |
7 | TODO: |
8 | - 70.5 - get volume info and label |
8 | - 70.5 - get volume info and label |
9 | */ |
9 | */ |
Line 10... | Line 10... | ||
10 | 10 | ||
11 | #define ABOUT_TITLE "EOLITE 5 RC6" |
11 | #define ABOUT_TITLE "EOLITE 5 RC6" |
12 | #define TITLE_EOLITE "Eolite File Manager 5 RC6" |
12 | #define TITLE_EOLITE "Eolite File Manager 5 RC7" |
Line 13... | Line 13... | ||
13 | #define TITLE_KFM "Kolibri File Manager 2 RC6"; |
13 | #define TITLE_KFM "Kolibri File Manager 2 RC7"; |
14 | 14 | ||
15 | #define MEMSIZE 1024 * 250 |
15 | #define MEMSIZE 1024 * 250 |
16 | #include "../lib/clipboard.h" |
16 | #include "../lib/clipboard.h" |
Line 57... | Line 57... | ||
57 | _history history; |
57 | _history history; |
Line 58... | Line 58... | ||
58 | 58 | ||
59 | //Folder data |
59 | //Folder data |
60 | dword buf, buf_inactive; |
60 | dword buf, buf_inactive; |
- | 61 | collection_int items=0; |
|
61 | collection_int items=0; |
62 | collection_int selected=0; |
62 | int selected_count; |
63 | int selected_count; |
63 | int folder_count; |
64 | int folder_count; |
64 | dword path; |
65 | dword path; |
Line 773... | Line 774... | ||
773 | { |
774 | { |
774 | if (!strcmp(file_name_off,"..")) ext1=" |
775 | if (!strcmp(file_name_off,"..")) ext1=" |
775 | ext1=" |
776 | ext1=" |
776 | WriteTextCenter(files.x+files.w-140, files.text_y+y+1, 72, col.list_gb_text, ext1); |
777 | WriteTextCenter(files.x+files.w-140, files.text_y+y+1, 72, col.list_gb_text, ext1); |
777 | } |
778 | } |
- | 779 | if (chrnum(path, '/')==1) && (streq(path, "/kolibrios")==false) |
|
778 | if (chrnum(path, '/')==1) && (streq(path, "/kolibrios")==false) file_size = GetDeviceSize(#full_path); |
780 | && (streq(path, "/sys")==false) file_size = GetDeviceSize(#full_path); |
779 | } |
781 | } |
780 | else |
782 | else |
781 | { |
783 | { |
782 | ext1 = strrchr(file_name_off,'.') + file_name_off; |
784 | ext1 = strrchr(file_name_off,'.') + file_name_off; |
783 | if (ext1==file_name_off) ext1 = NULL; //if no extension then show nothing |
785 | if (ext1==file_name_off) ext1 = NULL; //if no extension then show nothing |
Line 927... | Line 929... | ||
927 | if (iii==0) return; |
929 | if (iii==0) return; |
928 | iii = strrchr(path, '/'); |
930 | iii = strrchr(path, '/'); |
929 | strcpy(#old_folder_name, path+iii); |
931 | strcpy(#old_folder_name, path+iii); |
930 | if (iii>1) ESBYTE[path+iii-1]=NULL; else ESBYTE[path+iii]=NULL; |
932 | if (iii>1) ESBYTE[path+iii-1]=NULL; else ESBYTE[path+iii]=NULL; |
931 | SelectFileByName(#old_folder_name); |
933 | SelectFileByName(#old_folder_name); |
932 | if(efm)DrawPathBarKfm(); |
934 | DrawPathBar(); |
933 | } |
935 | } |
Line 934... | Line 936... | ||
934 | 936 | ||
935 | void EventOpenSelected() |
937 | void EventOpenSelected() |
936 | { |
938 | { |