Rev 5980 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5980 | Rev 5985 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | if (srch_pos == line_start) break; //no white space found in whole line |
56 | if (srch_pos == line_start) break; //no white space found in whole line |
57 | srch_pos--; |
57 | srch_pos--; |
58 | } |
58 | } |
59 | i = bufoff-line_start; |
59 | i = bufoff-line_start; |
60 | strlcpy(#line, line_start, i); |
60 | strlcpy(#line, line_start, i); |
61 | font.prepare_buf(8,stroka_y,list.w,font.size.height, #line); |
61 | font.write_buf(8,stroka_y,list.w,font.size.height, #line); |
62 | stroka_y += list.item_h; |
62 | stroka_y += list.item_h; |
63 | line_start = bufoff; |
63 | line_start = bufoff; |
64 | line_length = 30; |
64 | line_length = 30; |
65 | } |
65 | } |
66 | } |
66 | } |
67 | font.prepare_buf(8,stroka_y,list.w,font.size.height, line_start); |
67 | font.write_buf(8,stroka_y,list.w,font.size.height, line_start); |
68 | SmoothFont(font.buffer, font.size.width, font.size.height); |
68 | font.apply_smooth(); |
69 | DrawPage(); |
69 | DrawPage(); |
70 | }>256;> |
70 | }>256;> |