Rev 7647 | Rev 7806 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7647 | Rev 7768 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | char line[256]; |
78 | char line[256]; |
79 | kfont.raw_size = free(kfont.raw); |
79 | kfont.raw_size = free(kfont.raw); |
80 | for (i=10, y=12; i<22; i++, y+=kfont.height+3;) //not flexible, need to calculate font count and max line length |
80 | for (i=10, y=12; i<22; i++, y+=kfont.height+3;) //not flexible, need to calculate font count and max line length |
81 | { |
81 | { |
82 | if (colored.checked) c = pal[i-10]; else c=0; |
82 | if (colored.checked) c = pal[i-10]; else c=0; |
83 | sprintf(#line," §¬¥à èà¨äâ /size font %d ¯¨ªá¥«¥©.",i); |
83 | strcpy(#line, " §¬¥à èà¨äâ /forn size is "); |
- | 84 | strcat(#line, itoa(i)); |
|
- | 85 | strcat(#line, " ¯¨ªá¥«¥©/px."); |
|
84 | kfont.WriteIntoBuffer(14,y,Form.cwidth,Form.cheight-PANELH, 0xFFFFFF, c, i, #line); |
86 | kfont.WriteIntoBuffer(14,y,Form.cwidth,Form.cheight-PANELH, 0xFFFFFF, c, i, #line); |
85 | } |
87 | } |
86 | if (kfont.smooth) kfont.ApplySmooth(); |
88 | if (kfont.smooth) kfont.ApplySmooth(); |
87 | kfont.ShowBuffer(preview.x, preview.y); |
89 | kfont.ShowBuffer(preview.x, preview.y); |
88 | } |
90 | } |