Rev 7756 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7756 | Rev 7757 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | 50 | ||
51 | imgw = DSWORD[pics[cur_pic].image+4]; |
51 | imgw = DSWORD[pics[cur_pic].image+4]; |
52 | imgh = DSWORD[pics[cur_pic].image+8]; |
52 | imgh = DSWORD[pics[cur_pic].image+8]; |
Line -... | Line 53... | ||
- | 53 | if (imgw > width1) imgw = width1; |
|
53 | if (imgw > width1) imgw = width1; |
54 | |
- | 55 | /* |
|
54 | 56 | draw_y += imgh + 5; TEMPORARY TURN OFF!!! |
|
55 | //draw_y += imgh + 5; TEMPORARY TURN OFF!!! |
57 | |
56 | if (top1+imgh |
58 | if (top1+imgh |
57 | if (top1 |
59 | if (top1 |
58 | { |
60 | { |
Line 67... | Line 69... | ||
67 | if (imgh<=0) return; |
69 | if (imgh<=0) return; |
Line 68... | Line 70... | ||
68 | 70 | ||
69 | img_draw stdcall (pics[cur_pic].image, left1-5, top1, imgw, imgh,0,img_lines_first); |
71 | img_draw stdcall (pics[cur_pic].image, left1-5, top1, imgw, imgh,0,img_lines_first); |
70 | DrawBar(left1+imgw - 5, top1, WB1.list.w-imgw, imgh, page_bg); |
72 | DrawBar(left1+imgw - 5, top1, WB1.list.w-imgw, imgh, page_bg); |
71 | DrawBar(WB1.list.x, top1+imgh, WB1.list.w, -imgh % WB1.list.item_h + WB1.list.item_h, page_bg); |
- | |
72 | /* |
73 | DrawBar(WB1.list.x, top1+imgh, WB1.list.w, -imgh % WB1.list.item_h + WB1.list.item_h, page_bg); |
73 | if (link) |
74 | if (link) |
74 | { |
75 | { |
75 | UnsafeDefineButton(left1 - 5, top1, imgw, imgh-1, PageLinks.count + 400 + BT_HIDE, 0xB5BFC9); |
76 | UnsafeDefineButton(left1 - 5, top1, imgw, imgh-1, PageLinks.count + 400 + BT_HIDE, 0xB5BFC9); |
76 | PageLinks.AddText(0, imgw, imgh-1, NOLINE, 1); |
77 | PageLinks.AddText(0, imgw, imgh-1, NOLINE, 1); |