home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c329 / 2.img / INCL / GREX.H < prev    next >
Encoding:
Text File  |  1990-02-15  |  3.9 KB  |  135 lines

  1. /*
  2.  *  grex.h
  3.  *
  4.  *    Copyright (C) MicroWay, Inc., 1987, 1988, 1989
  5.  *
  6.  */
  7.  
  8. int         _where();
  9. int         address();
  10. int         aspect_ratio();
  11. int         beep();
  12. int         blk_bm();
  13. int         blk_mb();
  14. int         clear();
  15. int         clear_text();
  16. int         cr();
  17. int         crlf();
  18. int         define_color();
  19. int         display_text_page();
  20. int         dn_cursor();
  21. int         draw();
  22. int         filled_ellipse();
  23. int         filled_rectangle();
  24. int         flood_fill();
  25. int         get_active_attribute();
  26. int         get_active_page();
  27. int         get_clip_limits();
  28. int         get_cursor();
  29. unsigned    get_dash();
  30. int         get_device_limits();
  31. int         get_pixel();
  32. int         get_video_mode();
  33. int         graphic_page_count();
  34. int         graphic_text();
  35. int         graphics_mode();
  36. int         home();
  37. int         inkey$();
  38. int         inp();
  39. int         inpw();
  40. int         int386();
  41. int         lf();
  42. int         locate();
  43. int         lt_cursor();
  44. int         move();
  45. int         move_cursor();
  46. int         open_ellipse();
  47. int         outp();
  48. int         outpw();
  49. int         pause();
  50. int         place_string_at();
  51. int         read_attr();
  52. int         read_char();
  53. int         restore_text_window();
  54. int         restore_window();
  55. int         rt_cursor();
  56. int         save_text_window();
  57. int         save_window();
  58. int         scroll_active_page_down();
  59. int         scroll_active_page_up();
  60. int         set_active_attribute();
  61. int         set_active_text_page();
  62. int         set_clip_limits();
  63. int         set_color();
  64. int         set_cursor_type();
  65. unsigned    set_dash();
  66. int         set_palette();
  67. int         set_pixel();
  68. int         set_video_mode();
  69. int         set_xor();
  70. int         size_window();
  71. int         super_vga();
  72. int         text_mode();
  73. int         up_cursor();
  74. int         vertical_text();
  75. int         vga_palette();
  76. int         video_configuration();
  77. int         write_char();
  78. int         write_char_attr();
  79. int         write_one_char();
  80. int         write_string();
  81.  
  82. /* Microsoft-compatible functions */
  83.  
  84. struct videoconfig { int numxpixels; int numypixels; int numtextcols;
  85.     int numtextrows; int numcolors; int bitsperpixel; int numvideopages;
  86.     int mode; int adapter; int monitor; int memory;};
  87.  
  88. struct xycoord { int xcoord; int ycoord;};
  89.  
  90. struct rccoord { int row; int col;};
  91.  
  92. int             _arc ();            /* see note 1 */
  93. void            _clearscreen ();
  94. int             _displaycursor ();  /* see note 1 */
  95. int             _ellipse ();
  96. int             _floodfill ();
  97. int             _getbkcolor ();
  98. int             _getcolor ();
  99. struct xycoord  _getcurrentposition ();
  100. unsigned char * _getfillmask ();    /* see note 1 */
  101. void            _getimage ();
  102. unsigned int    _getlinestyle ();
  103. struct xycoord  _getlogcoord ();
  104. struct xycoord  _getphyscoord ();
  105. int             _getpixel ();
  106. int             _gettextcolor ();
  107. struct rccoord  _gettextposition ();
  108. int             _imagesize ();
  109. int             _lineto ();
  110. struct xycoord  _moveto ();
  111. void            _outtext ();
  112. int             _pie ();            /* see note 1 */
  113. void            _putimage ();
  114. int             _rectangle ();
  115. int             _remapallpalette ();
  116. int             _remappalette ();
  117. int             _selectpalette ();
  118. int             _setactivepage();
  119. int             _setbkcolor ();
  120. void            _setcliprgn ();
  121. int             _setcolor ();
  122. void            _setfillmask ();    /* see note 1 */
  123. void            _setlinestyle ();
  124. struct xycoord  _setlogorg ();
  125. int             _setpixel ();
  126. int             _settextcolor ();
  127. struct rccoord  _settextposition ();
  128. int             _settextwindow ();
  129. int             _setvideomode();
  130. void            _setviewport ();
  131. int             _setvisualpage();
  132. int             _wrapon ();
  133.  
  134. /* note 1: not fully implemented */
  135.