/programs/cmm/textreader/prepare_page.h |
---|
58,13 → 58,13 |
} |
i = bufoff-line_start; |
strlcpy(#line, line_start, i); |
font.prepare_buf(8,stroka_y,list.w,font.size.height, #line); |
font.write_buf(8,stroka_y,list.w,font.size.height, #line); |
stroka_y += list.item_h; |
line_start = bufoff; |
line_length = 30; |
} |
} |
font.prepare_buf(8,stroka_y,list.w,font.size.height, line_start); |
SmoothFont(font.buffer, font.size.width, font.size.height); |
font.write_buf(8,stroka_y,list.w,font.size.height, line_start); |
font.apply_smooth(); |
DrawPage(); |
} |
/programs/cmm/textreader/textreader.c |
---|
19,7 → 19,7 |
#define DEFAULT_EDITOR "/sys/tinypad" |
#define INTRO_TEXT "This is a plain Text Reader.\nTry to open some text file." |
#define VERSION "Text Reader v1.03" |
#define VERSION "Text Reader v1.04" |
#define ABOUT "Idea: Leency, punk_joker |
Code: Leency, Veliant, KolibriOS Team |
75,7 → 75,6 |
OpenDialog_init stdcall (#o_dialog); |
font.no_bg_copy = true; |
font.color = 0; |
font.bg_color = 0xFFFFFF; |