Rev 6735 | Rev 6782 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6735 | Rev 6757 | ||
---|---|---|---|
Line 664... | Line 664... | ||
664 | file_offet, |
664 | file_offet, |
665 | file_name_off, |
665 | file_name_off, |
666 | y=filenum*files.item_h+files.y, |
666 | y=filenum*files.item_h+files.y, |
667 | icon_y = files.item_h/2-7+y; |
667 | icon_y = files.item_h/2-7+y; |
668 | BDVK file; |
668 | BDVK file; |
- | 669 | char temp_path[sizeof(file_path)]; |
|
669 | char label_file_name[4096]; |
670 | char label_file_name[4096]; |
670 | if (filenum==-1) return; |
671 | if (filenum==-1) return; |
671 | DrawBar(files.x,y,3,files.item_h,bgcol); |
672 | DrawBar(files.x,y,3,files.item_h,bgcol); |
672 | DrawBar(files.x+19,y,files.w-19,files.item_h,bgcol); |
673 | DrawBar(files.x+19,y,files.w-19,files.item_h,bgcol); |
673 | if (files.item_h>15) DrawBar(files.x+3,y,16,icon_y-y,bgcol); |
674 | if (files.item_h>15) DrawBar(files.x+3,y,16,icon_y-y,bgcol); |
Line 691... | Line 692... | ||
691 | if (!strncmp(file_name_off,"..",3)) ext1=".."; else { |
692 | if (!strncmp(file_name_off,"..",3)) ext1=".."; else { |
692 | ext1=" |
693 | ext1=" |
693 | WriteTextCenter(files.x+files.w-140, files.text_y+y+1, 72, 0, ext1); |
694 | WriteTextCenter(files.x+files.w-140, files.text_y+y+1, 72, 0, ext1); |
694 | } |
695 | } |
695 | } |
696 | } |
- | 697 | sprintf(#temp_path,"%s/%s",#path,file_name_off); |
|
696 | DrawIconByExtension(ext1, files.x+3, icon_y, bgcol); |
698 | DrawIconByExtension(#temp_path, ext1, files.x+3, icon_y, bgcol); |
Line 697... | Line 699... | ||
697 | 699 | ||
698 | if (TestBit(attr, 1)) || (TestBit(attr, 2)) text_col=0xA6A6B7; //system or hiden? |
700 | if (TestBit(attr, 1)) || (TestBit(attr, 2)) text_col=0xA6A6B7; //system or hiden? |
699 | if (bgcol!=0xFFFfff) |
701 | if (bgcol!=0xFFFfff) |
700 | { |
702 | { |