Rev 7752 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7752 | Rev 7755 | ||
---|---|---|---|
Line 258... | Line 258... | ||
258 | } |
258 | } |
259 | } |
259 | } |
260 | DrawStyle(); |
260 | DrawStyle(); |
261 | NewLine(); |
261 | NewLine(); |
262 | list.count = draw_y; |
262 | list.count = draw_y; |
263 | DrawPage(); |
263 | list.CheckDoesValuesOkey(); |
- | 264 | anchors.current = NULL; |
|
264 | } |
265 | } |
265 | //============================================================================================ |
266 | //============================================================================================ |
266 | bool TWebBrowser::CheckForLineBreak() |
267 | bool TWebBrowser::CheckForLineBreak() |
267 | { |
268 | { |
268 | int line_break_pos; |
269 | int line_break_pos; |
Line 290... | Line 291... | ||
290 | char img_path[4096]=0; |
291 | char img_path[4096]=0; |
291 | int meta_encoding; |
292 | int meta_encoding; |
Line 292... | Line 293... | ||
292 | 293 | ||
Line -... | Line 294... | ||
- | 294 | dword value; |
|
- | 295 | ||
- | 296 | if (value = tag.get_value_of("name=")) || (value = tag.get_value_of("id=")) { |
|
- | 297 | anchors.add(value, draw_y); |
|
- | 298 | if (anchors.current) && (streq(value, #anchors.current+1)) { |
|
- | 299 | list.first = draw_y; |
|
- | 300 | anchors.current = NULL; |
|
- | 301 | } |
|
293 | dword value; |
302 | } |
294 | 303 | ||
295 | if (tag.is("html")) { |
304 | if (tag.is("html")) { |
296 | t_html = tag.opened; |
305 | t_html = tag.opened; |
297 | return; |
306 | return; |
Line 309... | Line 318... | ||
309 | chrcat(#line, '\"'); |
318 | chrcat(#line, '\"'); |
310 | } |
319 | } |
311 | if (!tag.opened) strcat(#line, "\" "); |
320 | if (!tag.opened) strcat(#line, "\" "); |
312 | return; |
321 | return; |
313 | } |
322 | } |
314 | if (value = tag.get_value_of("name=")) || (value = tag.get_value_of("id=")) { |
- | |
315 | anchors.add(value, draw_y); |
- | |
316 | } |
- | |
317 | if (tag.is("body")) { |
323 | if (tag.is("body")) { |
318 | t_body = tag.opened; |
324 | t_body = tag.opened; |
319 | if (value = tag.get_value_of("link=")) link_color_inactive = GetColor(value); |
325 | if (value = tag.get_value_of("link=")) link_color_inactive = GetColor(value); |
320 | if (value = tag.get_value_of("alink=")) link_color_active = GetColor(value); |
326 | if (value = tag.get_value_of("alink=")) link_color_active = GetColor(value); |
321 | if (value = tag.get_value_of("text=")) text_colors[0]=GetColor(value); |
327 | if (value = tag.get_value_of("text=")) text_colors[0]=GetColor(value); |