diff --git a/programs/cmm/eolite/include/copy_and_delete.h b/programs/cmm/eolite/include/copy_and_delete.h index e6a88aa469..7b9e16b7ab 100644 --- a/programs/cmm/eolite/include/copy_and_delete.h +++ b/programs/cmm/eolite/include/copy_and_delete.h @@ -87,8 +87,19 @@ void EventCopy(bool _cut_active) if (getElementSelectedFlag(i) == true) { sprintf(copy_buf_offset,"%s/%s",#path,items.get(i)*304+buf+72); copy_buf_offset += strlen(copy_buf_offset) + 1; + + setElementSelectedFlag(i, false); + + if (cut_active) { + if (i>=files.first) && (i=0) img_draw stdcall(icons32draw.image, x, y, 32, 32, 0, icon_n*32); -} - -:libimg_image icons16draw; -:void DrawIcon16(dword x,y, bg, icon_n) { - //load_dll(libimg, #libimg_init,1); - if (!icons16draw.image) { - icons16draw.load("/sys/icons16.png"); - icons16draw.replace_color(0xffFFFfff, bg); - icons16draw.replace_color(0xffCACBD6, MixColors(bg, 0, 220)); - } - if (icon_n>=0) img_draw stdcall(icons16draw.image, x, y, 16, 16, 0, icon_n*16); -} - -#endif \ No newline at end of file