Rev 6049 | Rev 6157 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6049 | Rev 6050 | ||
---|---|---|---|
Line 562... | Line 562... | ||
562 | } |
562 | } |
Line 563... | Line 563... | ||
563 | 563 | ||
564 | void DrawList() |
564 | void DrawList() |
565 | { |
565 | { |
566 | word sorting_arrow_x; |
566 | word sorting_arrow_x; |
567 | DrawFlatButton(files.x, files.y-17, files.w - 141,16,31,system.color.work,T_FILE); |
567 | DrawFlatButton(files.x, files.y-17, files.w - 141,16,31,T_FILE); |
568 | DrawFlatButton(files.x + files.w - 141, files.y-17,73,16,32,system.color.work,T_TYPE); |
568 | DrawFlatButton(files.x + files.w - 141, files.y-17,73,16,32,T_TYPE); |
569 | DrawFlatButton(files.x + files.w - 68, files.y-17,68,16,33,system.color.work,T_SIZE); |
569 | DrawFlatButton(files.x + files.w - 68, files.y-17,68,16,33,T_SIZE); |
570 | DrawFlatButton(files.x + files.w, files.y-17,16,16, 0,system.color.work,"\x18"); |
570 | DrawFlatButton(files.x + files.w, files.y-17,16,16, 0,"\x18"); |
571 | DrawFlatButton(files.x + files.w,files.y+files.h-16,16,16,0,system.color.work,"\x19"); |
571 | DrawFlatButton(files.x + files.w,files.y+files.h-16,16,16,0,"\x19"); |
572 | if (sort_num==1) sorting_arrow_x = files.w - 141 / 2 + files.x + 18; |
572 | if (sort_num==1) sorting_arrow_x = files.w - 141 / 2 + files.x + 18; |
573 | if (sort_num==2) sorting_arrow_x = files.x + files.w - 90; |
573 | if (sort_num==2) sorting_arrow_x = files.x + files.w - 90; |
574 | if (sort_num==3) sorting_arrow_x = strlen(T_SIZE)*3-30+files.x+files.w; |
574 | if (sort_num==3) sorting_arrow_x = strlen(T_SIZE)*3-30+files.x+files.w; |
575 | WriteText(sorting_arrow_x,files.y-12,0x80,system.color.work_graph,"\x19"); |
575 | WriteText(sorting_arrow_x,files.y-12,0x80,system.color.work_graph,"\x19"); |