Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  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;
  14.  
  15. dword am3__ = 0x0;
  16. dword bm3__ = 0x0;
  17.  
  18. //import  libimg                     , \
  19.  
  20. char att_truetype[] = "truetype";
  21. char att_get_length[] = "get_length";
  22. char att_get_width[] = "get_width";
  23. char att_text_out[] = "text_out";
  24. char att_init_font[] = "init_font";
  25.  
  26. //load_dll2(libtruetype, #truetype,0);
  27.  
  28. //à ýòî - â ìîìåíò îòðèñîâêè îêíà
  29. //text_out stdcall (#text, -1, 40, 0xFF0000, 100, 100);
  30.