home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / screen / fastvid2 / fastvid.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-06-03  |  2.0 KB  |  64 lines

  1.  
  2. /*  FastVid.H   version 1.0   May 30, 1987  */
  3. /*                                          */
  4. /*        Written by Scott Friedman         */
  5.  
  6. #define   NULL      0
  7. #define   YES       1
  8. #define   NO        0
  9. #define   UP        6
  10. #define   DOWN      7
  11. #define   BLACK     0
  12. #define   BLUE      1
  13. #define   GREEN     2
  14. #define   CYAN      3
  15. #define   RED       4
  16. #define   MAGENTA   5
  17. #define   BROWN     6
  18. #define   WHITE     7
  19. #define   BRIGHT    8
  20. #define   BLINK     128
  21.  
  22. typedef unsigned char byte;
  23. typedef struct {
  24.      char Horiz, Vert,
  25.           UpLeft, UpRight, LoLeft, LoRight,
  26.           TopT, BottomT, LeftT, RightT;
  27. } _F;
  28.  
  29.  
  30. void UseBios ( byte YN );
  31. void HaveSnow ( byte YN );
  32. void InitText ( void );
  33. int  EgaInstalled ( void );
  34. void SetCursor ( byte Start, byte End );
  35. void HideCursor ( void );
  36. void ShowCursor ( void );
  37. int  GetVideoMode ( void );
  38. void SetVideoMode ( byte Mode );
  39. int  IsxyOk ( int Col, int Row );
  40. int  Gotoxy ( int Col, int Row );
  41. void GotoxyB ( int Col, int Row );
  42. void Getxy ( int *Col, int *Row );
  43. void GetxyB ( int *Col, int *Row );
  44. byte Attr ( byte Foreground, byte Background );
  45. void SetAttribute ( byte Attribute );
  46. byte GetAttribute ( void );
  47. void FlipAttribute ( byte Attribute, int Number );
  48. void AtFlipAttribute ( int Col, int Row, byte Attribute, int Number );
  49. void SetPage ( byte Page );
  50. byte GetPage ( void );
  51. void SetBorder ( byte Color );
  52. void Scroll ( byte Direction, byte NumOfLines, byte Attribute, int x1, int y1, int x2, int y2 );
  53. void Cls ( byte Attribute );
  54. void Say ( char *Text );
  55. void SayA ( char *Text, byte Attribute );
  56. void AtSay ( int Col, int Row, char *Text );
  57. void AtSayA ( int Col, int Row, char *Text, byte Attribute );
  58. void SayC ( char Character );
  59. void AtSayC ( int Col, int Row, char Character );
  60. void SayCN ( char Character, int Number );
  61. void AtSayCN ( int Col, int Row, char Character, int Number );
  62. void AtSayCNV ( int Col, int Row, char Character, int Number );
  63.  
  64.