libText.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _LIBTEXT_H
  2. #define _LIBTEXT_H
  3. #define TXT_FONTS 11
  4. void Txt_Init (int);
  5. void Txt_Pixel (int,int,int);
  6. void Txt_Point (int,int,int,int);
  7. int Txt_Get (int,int);
  8. void Txt_Char (char,int,int,int,int,int,int);
  9. void Txt_Text (char *,int,int,int,int);
  10. int Txt_Width (int);
  11. int Txt_Height (int);
  12. void Txt_Quit (void);
  13. #define TXT_OR 0x01
  14. #define TXT_ON 0x02
  15. #define TXT_AND 0x04
  16. #define TXT_REV 0x08
  17. #define TXT_XOR 0x10
  18. #define TXT_MINISD 0x00
  19. #define TXT_7SEGMINI 0x01
  20. #define TXT_SYSTEM 0x02
  21. #define TXT_7SEG 0x03
  22. #define TXT_ARCADIUM 0x04
  23. #define TXT_SERIF 0x05
  24. #define TXT_SERIFITALIC 0x06
  25. #define TXT_SERIFBOLD 0x07
  26. #define TXT_SERIFBOLDITALIC 0x08
  27. #define TXT_RUNES 0x09
  28. #define TXT_DOS 0x0A
  29. #define FONT_MINISD 0x00000001
  30. #define FONT_7SEGMINI 0x00000002
  31. #define FONT_SYSTEM 0x00000004
  32. #define FONT_7SEG 0x00000008
  33. #define FONT_ARCADIUM 0x00000010
  34. #define FONT_SERIF 0x00000020
  35. #define FONT_SERIFITALIC 0x00000040
  36. #define FONT_SERIFBOLD 0x00000080
  37. #define FONT_SERIFBOLDITALIC 0x00000100
  38. #define FONT_RUNES 0x00000200
  39. #define FONT_DOS 0x00000400
  40. #define FONT_ALL 0xFFFFFFFF
  41. #endif // _LIBTEXT_H