Rev 5150 | Rev 5209 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5150 | Rev 5174 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | #include "..\lib\figures.h" |
17 | #include "..\lib\figures.h" |
18 | #include "..\lib\encoding.h" |
18 | #include "..\lib\encoding.h" |
19 | #include "..\lib\list_box.h" |
19 | #include "..\lib\list_box.h" |
20 | #include "..\lib\copyf.h" |
20 | #include "..\lib\copyf.h" |
21 | #include "..\lib\random.h" |
21 | #include "..\lib\random.h" |
- | 22 | #include "..\lib\lib.obj\libini.h" |
|
22 | //images |
23 | //images |
23 | #include "imgs\toolbar.txt" |
24 | #include "imgs\toolbar.txt" |
24 | #include "imgs\left_p.txt" |
25 | #include "imgs\left_p.txt" |
25 | #include "imgs\icons.txt" |
26 | #include "imgs\icons.txt" |
Line 80... | Line 81... | ||
80 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
81 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
81 | #endif |
82 | #endif |
Line 82... | Line 83... | ||
82 | 83 | ||
Line 83... | Line 84... | ||
83 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
84 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
84 | 85 | ||
85 | #define TITLE "Eolite File Manager v2.38" |
86 | #define TITLE "Eolite File Manager v2.39" |
Line 86... | Line 87... | ||
86 | #define ABOUT_TITLE "Eolite v2.38" |
87 | #define ABOUT_TITLE "Eolite v2.39" |
87 | dword col_padding, col_selec, col_lpanel; |
88 | dword col_padding, col_selec, col_lpanel; |
88 | 89 | ||
Line 123... | Line 124... | ||
123 | 124 | ||
124 | edit_box edit2 = {250,213,80,0xFFFFCC,0x94AECE,0xFFFFCC,0xffffff,0,248,#file_name,#mouse_dd,64,6,6}; |
125 | edit_box edit2 = {250,213,80,0xFFFFCC,0x94AECE,0xFFFFCC,0xffffff,0,248,#file_name,#mouse_dd,64,6,6}; |
125 | PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
126 | PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
Line 126... | Line -... | ||
126 | PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0}; |
- | |
127 | 127 | PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0}; |
|
128 | #include "include\mark.h" |
128 | |
129 | #include "include\copy.h" |
129 | #include "include\copy.h" |
130 | #include "include\other.h" |
130 | #include "include\other.h" |
131 | #include "include\sorting.h" |
131 | #include "include\sorting.h" |
Line 163... | Line 163... | ||
163 | rand_n = random(40); |
163 | rand_n = random(40); |
Line 164... | Line 164... | ||
164 | 164 | ||
165 | files.line_h=18; |
165 | files.line_h=18; |
166 | mem_Init(); |
166 | mem_Init(); |
- | 167 | if (load_dll2(boxlib, #box_lib_init,0)!=0) notify(ERROR_1); |
|
167 | if (load_dll2(boxlib, #box_lib_init,0)!=0) notify(ERROR_1); |
168 | if (load_dll2(libini, #lib_init,1)!=0) notify("Error: library doesn't exists - libini"); |
168 | SystemDiscsGet(); |
- | |
169 | mark_default(); |
169 | SystemDiscsGet(); |
170 | GetIni(1); |
170 | GetIni(1); |
171 | SetAppColors(); |
171 | SetAppColors(); |
172 | if (param) |
172 | if (param) |
173 | { |
173 | { |
Line 870... | Line 870... | ||
870 | SelectFile(#cur_folder); |
870 | SelectFile(#cur_folder); |
871 | } |
871 | } |
Line 872... | Line 872... | ||
872 | 872 | ||
873 | void Open() |
873 | void Open() |
874 | { |
- | |
875 | mark_default(); |
874 | { |
876 | if (!files.count) return; |
875 | if (!files.count) return; |
877 | if (!itdir) |
876 | if (!itdir) |
878 | { |
877 | { |
879 | GetIni(0); |
878 | GetIni(0); |