Subversion Repositories Kolibri OS

Rev

Rev 3107 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3107 leency 1
//это вставить после загрузки основных библиотек
2
 
3
char fontinfo[28];
4
 
5
dword libtruetype = #att;
6
 
7
char att[] = "/sys/lib/truetype.obj"; //"truetype.obj\0";
8
 
9
dword truetype = #att_truetype;
10
dword get_length = #att_get_length;
11
dword get_width  = #att_get_width;
12
dword text_out = #att_text_out;
13
dword init_font = #att_init_font;
3839 Asper 14
$DD 2 dup 0
3107 leency 15
 
16
//import  libimg                     , \
17
 
18
char att_truetype[] = "truetype";
19
char att_get_length[] = "get_length";
20
char att_get_width[] = "get_width";
21
char att_text_out[] = "text_out";
22
char att_init_font[] = "init_font";
23
 
24
//load_dll2(libtruetype, #truetype,0);
25
 
26
//а это - в момент отрисовки окна
27
//text_out stdcall (#text, -1, 40, 0xFF0000, 100, 100);