Rev 5768 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5768 | Rev 5772 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | if (style.u) DrawBuf.DrawBar(start_x, list.line_h - DrawBuf.zoom - DrawBuf.zoom + start_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
100 | if (style.u) DrawBuf.DrawBar(start_x, list.line_h - DrawBuf.zoom - DrawBuf.zoom + start_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
101 | if (link) { |
101 | if (link) { |
102 | DrawBuf.DrawBar(start_x, list.line_h - DrawBuf.zoom - DrawBuf.zoom + start_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
102 | DrawBuf.DrawBar(start_x, list.line_h - DrawBuf.zoom - DrawBuf.zoom + start_y, line_length, DrawBuf.zoom, text_colors[text_color_index]); |
103 | UnsafeDefineButton(start_x-2, start_y-1 + list.y, line_length + 3, DrawBuf.zoom * list.font_h, PageLinks.count + 400 + BT_HIDE, 0xB5BFC9); |
103 | PageLinks.AddText(#line, line_length, list.line_h, UNDERLINE); |
104 | PageLinks.AddText(#line, line_length, list.line_h, UNDERLINE); |
104 | } |
105 | } |
- | |
106 | stolbec += stolbec_len; |
105 | stolbec += stolbec_len; |
107 | } |
106 | } |
108 | } |
107 | } |
109 | //============================================================================================ |
108 | //============================================================================================ |
110 | void TWebBrowser::LoadInternalPage(dword bufpos, in_filesize){ |
109 | void TWebBrowser::LoadInternalPage(dword bufpos, in_filesize){ |
Line 310... | Line 309... | ||
310 | do{ |
309 | do{ |
311 | if (isattr("href=")) |
310 | if (isattr("href=")) |
312 | { |
311 | { |
313 | if (stroka - 1 > list.visible) || (stroka < -2) return; |
312 | text_color_index++; |
314 | text_color_index++; |
313 | text_colors[text_color_index] = text_colors[text_color_index-1]; |
315 | text_colors[text_color_index] = text_colors[text_color_index-1]; |
- | |
316 | link = 1; |
314 | link = 1; |
317 | text_colors[text_color_index] = link_color_inactive; |
315 | text_colors[text_color_index] = link_color_inactive; |
318 | PageLinks.AddLink(#val, DrawBuf.zoom * stolbec * list.font_w + left1, top1-DrawBuf.zoom); |
316 | PageLinks.AddLink(#val, DrawBuf.zoom * stolbec * list.font_w + left1, top1-DrawBuf.zoom); |
319 | } |
317 | } |
320 | if (anchor) && (isattr("name=")) |
318 | if (anchor) && (isattr("name=")) |