Rev 7462 | Rev 7484 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7462 | Rev 7481 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | rbmenu.SetFont(6, 9, 0x80); |
55 | rbmenu.SetFont(6, 9, 0x80); |
56 | rbmenu.SetSizes(0,0,10,0,18); |
56 | rbmenu.SetSizes(0,0,10,0,18); |
57 | for (index=0; file_captions[index]!=0; index+=3) |
57 | for (index=0; file_captions[index]!=0; index+=3) |
58 | { |
58 | { |
59 | if (itdir) && (file_captions[index+2]>=200) continue; |
59 | if (itdir) && (file_captions[index+2]>=200) continue; |
- | 60 | if (selected_count > 0) && (file_captions[index+2]>=200) continue; |
|
60 | if (selected_count > 0) && (file_captions[index+2]==100) continue; //do not show "open" for several files |
61 | if (selected_count > 0) && (file_captions[index+2]==100) continue; //do not show "open" for several files |
61 | if (strlen(file_captions[index])>rbmenu.w) rbmenu.w = strlen(file_captions[index]); |
62 | if (strlen(file_captions[index])>rbmenu.w) rbmenu.w = strlen(file_captions[index]); |
62 | rbmenu.count++; |
63 | rbmenu.count++; |
63 | rbmenu.visible++; |
64 | rbmenu.visible++; |
64 | } |
65 | } |
Line 106... | Line 107... | ||
106 | dword m_col_sh_text; |
107 | dword m_col_sh_text; |
Line 107... | Line 108... | ||
107 | 108 | ||
108 | for (index=0; file_captions[index*3]!=0; index++) |
109 | for (index=0; file_captions[index*3]!=0; index++) |
109 | { |
110 | { |
110 | if ((itdir) && (file_captions[index*3+2]>=200)) continue; |
111 | if ((itdir) && (file_captions[index*3+2]>=200)) continue; |
- | 112 | if (selected_count > 0) && (file_captions[index*3+2]==100) continue; |
|
111 | if (selected_count > 0) && (file_captions[index+2]==100) continue; |
113 | if (selected_count > 0) && (file_captions[index*3+2]>=200) continue; |
112 | DrawBar(1,start_y+2,1,rbmenu.item_h,0xFFFfff); |
114 | DrawBar(1,start_y+2,1,rbmenu.item_h,0xFFFfff); |
113 | if (start_y/rbmenu.item_h==rbmenu.cur_y) |
115 | if (start_y/rbmenu.item_h==rbmenu.cur_y) |
114 | { |
116 | { |
115 | cur_action_buf = file_captions[index*3+2]; |
117 | cur_action_buf = file_captions[index*3+2]; |