Rev 6001 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6001 | Rev 6735 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | if (top1>WB1.list.y+WB1.list.h-imgh-5) //if image partly visible (at the bottom) |
80 | if (top1>WB1.list.y+WB1.list.h-imgh-5) //if image partly visible (at the bottom) |
81 | { |
81 | { |
82 | imgh=WB1.list.y+WB1.list.h-top1-5; |
82 | imgh=WB1.list.y+WB1.list.h-top1-5; |
83 | } |
83 | } |
84 | if (imgh<=0) return; |
84 | if (imgh<=0) return; |
85 | if (anchor) return; |
- | |
Line 86... | Line 85... | ||
86 | 85 | ||
87 | img_draw stdcall (pics[cur_pic].image, left1-5, top1, imgw, imgh,0,img_lines_first); |
86 | img_draw stdcall (pics[cur_pic].image, left1-5, top1, imgw, imgh,0,img_lines_first); |
88 | DrawBar(left1+imgw - 5, top1, WB1.list.w-imgw, imgh, bg_color); |
87 | DrawBar(left1+imgw - 5, top1, WB1.list.w-imgw, imgh, bg_color); |
89 | DrawBar(WB1.list.x, top1+imgh, WB1.list.w, -imgh % WB1.list.item_h + WB1.list.item_h, bg_color); |
88 | DrawBar(WB1.list.x, top1+imgh, WB1.list.w, -imgh % WB1.list.item_h + WB1.list.item_h, bg_color); |