22,8 → 22,8 |
|
enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
|
#define TITLE "Eolite File Manager v1.89" |
#define ABOUT_TITLE "Eolite v1.89" |
#define TITLE "Eolite File Manager v1.90" |
#define ABOUT_TITLE "Eolite v1.90" |
dword col_work = 0xE4DFE1; |
dword col_border = 0x9098B0; //A0A0B8; //0x819FC5; |
dword col_padding = 0xC8C9C9; |
59,8 → 59,8 |
PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0}; |
|
#include "include\copypaste.h" |
#include "include\some_code.h" |
#include "include\about_dialog.h" |
#include "include\sorting.h" |
#include "include\icons_f.h" |
#include "include\ini.h" |
67,7 → 67,7 |
#include "include\left_panel.h" |
#include "include\history.h" |
#include "include\file_menu.h" |
#include "include\copypaste.h" |
#include "include\about_dialog.h" |
|
void main() |
{ |
84,7 → 84,9 |
if (path[strlen(#path)-1]!='/') chrcat(#path, '/'); //add "/" to the end of the string |
} |
else |
{ |
strcpy(#path, "/rd/1/"); |
} |
Open_Dir(#path,ONLY_OPEN); |
SetEventMask(0x27); |
loop() switch(WaitEvent()) |
112,11 → 114,19 |
if (!m.lkm) && (!m.pkm) && (can_select) |
{ |
can_select = 0; |
if (m.y<57) break; |
if (m.y>=57) |
{ |
id = m.y - 57 / files.line_h; |
if (id!=m_selected) {can_show=0; break;} |
if (files.current!=id) List_Current(id-files.current); |
else Open(); |
if (id!=m_selected) |
{ |
can_show=0; |
break; |
} |
if (files.current!=id) |
List_Current(id-files.current); |
else |
Open(); |
} |
}; |
// } select/open file |
|
124,14 → 134,15 |
if (!m.pkm) && (!m.lkm) && (can_show) |
{ |
can_show = 0; |
if (m.y<57) break; |
if (m.y>=57) |
{ |
SwitchToAnotherThread(); |
CreateThread(#FileMenu,#menu_stak); |
} |
break; |
} |
// } file menu |
|
|
if (m.vert) |
{ |
files.MouseScroll(m.vert); |