Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5608 → Rev 5607

/programs/cmm/eolite/include/copy.h
1,10 → 1,4
 
void Paste() {
copy_stak = malloc(4096);
CreateThread(#PasteThread,copy_stak+4092);
}
 
 
byte copy_to[4096];
byte copy_from[4096];
byte cut_active=0;
52,7 → 46,7
}
 
 
void PasteThread()
void Paste()
{
char copy_rezult;
int j;
/programs/cmm/eolite/Eolite.c
146,8 → 146,6
 
dword eolite_ini_path;
 
dword menu_stak,about_stak,properties_stak,settings_stak,copy_stak;
 
proc_info Form;
system_colors sc;
mouse m;
180,6 → 178,7
#include "include\settings.h"
#include "include\properties.h"
 
dword menu_stak,about_stak,properties_stak,settings_stak,copy_stak;
 
void main()
{
378,17 → 377,18
Open_Dir(#path,WITH_REDRAW);
}
break;
case 23:
case 23: //up!
Dir_Up();
break;
case 24:
case 24: //cut
Copy(#file_path, CUT);
break;
case 25:
case 25: //copy
Copy(#file_path, NOCUT);
break;
case 26:
Paste();
case 26: //paste
copy_stak = malloc(4096);
CreateThread(#Paste,copy_stak+4092);
break;
case 31...33: //sort
if(sort_num==1) DrawFilledBar(sorting_arrow_x,42,6,10);
461,7 → 461,8
Copy(#file_path, NOCUT);
break;
case 022: //Ctrl+V
Paste();
copy_stak = malloc(4096);
CreateThread(#Paste,copy_stak+4092);
break;
case 001: //Ctrl+A
debugln("press Ctrl+A");
600,7 → 601,11
if (id==203) FnProcess(4); //F4
if (id==104) Copy(#file_path, NOCUT);
if (id==105) Copy(#file_path, CUT);
if (id==106) Paste();
if (id==106)
{
copy_stak = malloc(4096);
CreateThread(#Paste,copy_stak+4092);
}
if (id==207) FnProcess(2);
if (id==108) Del_Form();
if (id==109) FnProcess(5);