Rev 6794 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6794 | Rev 6795 | ||
---|---|---|---|
Line 95... | Line 95... | ||
95 | if (style.b) WriteBufText(start_x+1, draw_y, list.font_type, text_colors[text_color_index], #line, buf_data); |
95 | if (style.b) WriteBufText(start_x+1, draw_y, list.font_type, text_colors[text_color_index], #line, buf_data); |
96 | if (style.s) DrawBuf.DrawBar(start_x, list.item_h / 2 - DrawBuf.zoom + draw_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
96 | if (style.s) DrawBuf.DrawBar(start_x, list.item_h / 2 - DrawBuf.zoom + draw_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
97 | if (style.u) DrawBuf.DrawBar(start_x, list.item_h - DrawBuf.zoom - DrawBuf.zoom + draw_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
97 | if (style.u) DrawBuf.DrawBar(start_x, list.item_h - DrawBuf.zoom - DrawBuf.zoom + draw_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
98 | if (link) { |
98 | if (link) { |
99 | DrawBuf.DrawBar(start_x, draw_y + list.item_h - 2, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
99 | DrawBuf.DrawBar(start_x, draw_y + list.item_h - calc(DrawBuf.zoom*2), line_length, DrawBuf.zoom, text_colors[text_color_index]); |
100 | PageLinks.AddText(line_length, list.item_h - 2, UNDERLINE, 1, #line); //TODO: set bigger underline_h for style.h |
100 | PageLinks.AddText(start_x, draw_y + list.y, line_length, list.item_h - calc(DrawBuf.zoom*2), UNDERLINE, DrawBuf.zoom); //TODO: set bigger underline_h for style.h |
101 | } |
101 | } |
102 | stolbec += stolbec_len; |
102 | stolbec += stolbec_len; |
103 | } |
103 | } |
104 | } |
104 | } |
105 | //============================================================================================ |
105 | //============================================================================================ |
106 | void TWebBrowser::LoadInternalPage(dword bufpos, in_filesize){ |
106 | void TWebBrowser::LoadInternalPage(dword bufpos, in_filesize){ |
Line 304... | Line 304... | ||
304 | text_color_index++; |
304 | text_color_index++; |
305 | text_colors[text_color_index] = text_colors[text_color_index-1]; |
305 | text_colors[text_color_index] = text_colors[text_color_index-1]; |
306 | link = 1; |
306 | link = 1; |
307 | text_colors[text_color_index] = link_color_inactive; |
307 | text_colors[text_color_index] = link_color_inactive; |
308 | PageLinks.AddLink(#val, DrawBuf.zoom * stolbec * list.font_w + left1, draw_y + list.y); |
308 | PageLinks.AddLink(#val); |
309 | } |
309 | } |
310 | } while(GetNextParam()); |
310 | } while(GetNextParam()); |
311 | } |
311 | } |
312 | else { |
312 | else { |
313 | link = 0; |
313 | link = 0; |
314 | IF(text_color_index > 0) text_color_index--; |
314 | IF(text_color_index > 0) text_color_index--; |