Rev 7286 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7286 | Rev 7462 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | list.count++; |
32 | list.count++; |
33 | } |
33 | } |
34 | if (mode==DRAW_BUF) { |
34 | if (mode==DRAW_BUF) { |
35 | EBX = bufoff-line_start; |
35 | EBX = bufoff-line_start; |
36 | strlcpy(#line, line_start, EBX); |
36 | strlcpy(#line, line_start, EBX); |
37 | kfont.WriteIntoBuffer(8,stroka_y,list.w,kfont.size.height, 0xFFFFFF, 0, kfont.size.pt, #line); |
37 | kfont.WriteIntoBuffer(8,stroka_y,list.w,kfont.size.height, bg_color, text_color, kfont.size.pt, #line); |
38 | stroka_y += list.item_h; |
38 | stroka_y += list.item_h; |
39 | line_start = bufoff; |
39 | line_start = bufoff; |
40 | line_length = 30; |
40 | line_length = 30; |
41 | } |
41 | } |
42 | } |
42 | } |
43 | } |
43 | } |
44 | if (mode==COUNT_BUF_HEIGHT) list.count+=2; |
44 | if (mode==COUNT_BUF_HEIGHT) list.count+=2; |
45 | if (mode==DRAW_BUF) kfont.WriteIntoBuffer(8,stroka_y,list.w,kfont.size.height, 0xFFFFFF, 0, kfont.size.pt, line_start); |
45 | if (mode==DRAW_BUF) kfont.WriteIntoBuffer(8,stroka_y,list.w,kfont.size.height, bg_color, text_color, kfont.size.pt, line_start); |
46 | } |
46 | } |
Line 47... | Line 47... | ||
47 | 47 | ||
48 | void PreparePage() |
48 | void PreparePage() |
49 | { |
49 | { |