Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4001 → Rev 4002

/programs/cmm/eolite/Eolite.c
73,8 → 73,8
 
enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir
 
#define TITLE "Eolite File Manager v1.97.7"
#define ABOUT_TITLE "Eolite v1.97.7"
#define TITLE "Eolite File Manager v1.98"
#define ABOUT_TITLE "Eolite v1.98"
dword col_work = 0xE4DFE1;
dword col_border = 0x9098B0; //A0A0B8; //0x819FC5;
dword col_padding = 0xC8C9C9;
438,6 → 438,7
DrawFlatButton(onLeft(27,0),onTop(22,0),16,16,0,col_work,"\x19");
Open_Dir(#path,ONLY_SHOW);
if (del_active) Del_Form();
//if (itdir) ShowMessage(WAIT_DELETING_FOLDER, 0);
if (rename_active) FnProcess(2);
}
 
640,7 → 641,13
 
void Del_Form()
{
int dform_x = Form.width/2-13;
int dform_x=files.w-220/2+files.x;
if (del_active==2)
{
if (itdir) ShowMessage(WAIT_DELETING_FOLDER, 0);
}
else
{
if (!files.count) return;
DrawPopup(dform_x,160,220,80,1,col_work,col_border);
WriteText(-strlen(T_DELETE_FILE)*3+110+dform_x,175,0x80,0,T_DELETE_FILE);
659,6 → 666,7
DrawFlatButton(dform_x+120,208,70,20,302,0xC6DFC6,T_NO);
del_active=1;
}
}
 
void Del_File2(dword way)
670,10 → 678,7
error = GetDir(#dirbuf, #fcount, way, DIRS_ONLYREAL);
for (i=0; i<fcount; i++)
{
//need redraw window during this process
//like this:
//if CheckEvent()==Redraw DrawWindow();
//i'm too tired to code now...
if (CheckEvent()==evReDraw) draw_window();
filename = i*304+dirbuf+72;
strcpy(#del_from, way);
chrcat(#del_from, '/');
692,6 → 697,7
{
if (dodel==true)
{
del_active=2;
List_ReDraw();
if (itdir) ShowMessage(WAIT_DELETING_FOLDER, 0);
Del_File2(#file_path);
/programs/cmm/eolite/include/some_code.h
7,7 → 7,7
 
void ShowMessage(dword message, pause_duration)
{
int form_x=Form.width/2-13;
int form_x=files.w-220/2+files.x;
int form_y=160;
DrawPopup(form_x,form_y,220,80,1,col_work,col_border);
WriteText(-strlen(message)*3+110+form_x,80/2-4+form_y,0x80,0,message);
/programs/cmm/eolite/txt/History.txt
1,3 → 1,11
10.10.13 -- 1.98
- óäàëåíèå ïàïîê (punk_joker)
- ðåäèçàéí ñîîáùåíèé
- ñîêðàùåííîå ìåíþ äëÿ ïàïîê
- ïîääåðæêà äîïîëíèòåëüíîé äèðåêòîðèè /kolibrios/
- ïåðåâîä íà Ýñòîíñêèé (kaitz)
- îáíîâëåíèå îêíà êîïèðîâàíèÿ
 
31.08.13 -- 1.94
- èñïðàâëåíèÿ áàãîâ