Rev 5773 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5773 | Rev 5781 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | t_html, |
36 | t_html, |
37 | t_body; |
37 | t_body; |
38 | 38 | ||
39 | dword bufpointer; |
39 | dword bufpointer=0; |
Line 40... | Line 40... | ||
40 | dword o_bufpointer; |
40 | dword o_bufpointer=0; |
41 | dword bufsize; |
41 | dword bufsize=0; |
42 | 42 | ||
Line 43... | Line 43... | ||
43 | dword text_colors[300]; |
43 | dword text_colors[300]; |
44 | dword text_color_index; |
44 | dword text_color_index; |
45 | dword link_color_inactive; |
45 | dword link_color_inactive; |
46 | dword link_color_active; |
46 | dword link_color_active; |
Line 150... | Line 150... | ||
150 | case 0x0a: |
150 | case 0x0a: |
151 | if (style.pre) |
151 | if (style.pre) |
152 | { |
152 | { |
153 | chrcat(#line, ' '); |
153 | DrawStyle(); |
154 | Perenos(); |
154 | NewLine(); |
155 | break; |
155 | break; |
156 | } |
156 | } |
157 | case '\9': |
157 | case '\9': |
158 | if (style.pre) //èíà÷å èä¸ì íà 0x0d |
158 | if (style.pre) //èíà÷å èä¸ì íà 0x0d |
159 | { |
159 | { |
160 | tab_len = strlen(#line) % 4; |
160 | tab_len = strlen(#line) % 4; |
161 | if (!tab_len) tab_len = 4; |
161 | if (!tab_len) tab_len = 4; |
Line 368... | Line 368... | ||
368 | if (opened) |
368 | if (opened) |
369 | { |
369 | { |
370 | WB1.DrawBuf.zoom=2; |
370 | WB1.DrawBuf.zoom=2; |
371 | WB1.list.SetFont(8, 14, 10111001b); |
371 | WB1.list.font_type |= 10111001b; |
372 | if (isattr("align=")) && (isval("center")) style.align = ALIGN_CENTER; |
372 | if (isattr("align=")) && (isval("center")) style.align = ALIGN_CENTER; |
373 | if (isattr("align=")) && (isval("right")) style.align = ALIGN_RIGHT; |
373 | if (isattr("align=")) && (isval("right")) style.align = ALIGN_RIGHT; |
374 | if (stroka>1) NewLine(); |
374 | if (stroka>1) NewLine(); |
375 | } |
375 | } |
376 | else |
376 | else |
377 | { |
377 | { |
378 | WB1.DrawBuf.zoom=1; |
378 | WB1.DrawBuf.zoom=1; |
379 | WB1.list.SetFont(8, 14, 10111000b); |
379 | WB1.list.font_type = 10111000b; |
380 | style.align = ALIGN_LEFT; |
380 | style.align = ALIGN_LEFT; |
381 | } |
381 | } |
382 | return; |
382 | return; |
383 | } |
383 | } |
384 | if (istag("dt")) { |
384 | if (istag("dt")) { |
385 | style.li = opened; |
385 | style.li = opened; |
386 | if (opened) NewLine(); |
386 | if (opened) NewLine(); |