home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / NCSATELN / TEL23SRC.ZIP / RG / RG0.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-23  |  1.8 KB  |  108 lines

  1. /*
  2. *     rgnull.c by Aaron Contorer for NCSA
  3. *    routines for "null" device -- calling these routines
  4. *    has no effect, but they are compatible with all RG calls.
  5. */
  6.  
  7. #include <stdio.h>
  8. #ifdef MEMORY_DEBUG
  9. #include "memdebug.h"
  10. #endif
  11. #include "externs.h"
  12.  
  13. static char *nullname="Null device--do not display output";
  14.  
  15. int RG0newwin(void)
  16. {
  17.     return(0);
  18. }
  19.  
  20. void RG0clrscr(int w){
  21. /* Needed for possible future functionality */
  22.     w=w;    
  23.     }
  24.  
  25. void RG0close(int w) {
  26. /* Needed for possible future functionality */
  27.     w=w;    
  28.     }
  29.  
  30. void RG0point(int w,int x,int y) {
  31. /* Needed for possible future functionality */
  32.     w=w;
  33.     x=x;
  34.     y=y;
  35.     }
  36.  
  37. void RG0drawline(int w,int a,int b,int c,int d) {
  38. /* Needed for possible future functionality */
  39.     w=w;
  40.     a=a;
  41.     b=b;
  42.     c=c;
  43.     d=d;
  44.  
  45.     }
  46.  
  47. void RG0pagedone(int w) {
  48. /* Needed for possible future functionality */
  49.     w=w;    
  50.     }
  51.  
  52. void RG0dataline(int w,char *data,int count) {
  53. /* Needed for possible future functionality */
  54.     w=w;
  55.     data=data;
  56.     count=count;
  57.     }
  58.  
  59. void RG0pencolor(int w,int color){
  60. /* Needed for possible future functionality */
  61.     w=w;
  62.     color=color;
  63.     }
  64.  
  65. void RG0charmode(int w,int rotation,int size)
  66. {
  67. /* Needed for possible future functionality */
  68.     w=w;
  69.     rotation=rotation;
  70.     size=size;
  71. }
  72.  
  73. void RG0showcur(void ) {}
  74.  
  75. void RG0lockcur(void ) {}
  76.  
  77. void RG0hidecur(void ) {}
  78.  
  79. void RG0bell(int w) {
  80. /* Needed for possible future functionality */
  81.     w=w;    
  82.     }
  83.  
  84.  
  85. char *RG0devname(void)
  86. {
  87.     return(nullname);
  88. }
  89.  
  90. void RG0uncover(int w) {
  91. /* Needed for possible future functionality */
  92.     w=w;    
  93.     }
  94.  
  95. void RG0init(void ) {}
  96. void RG0info(int w,int a,int b,int c,int d,int v) {
  97. /* Needed for possible future functionality */
  98.     w=w;
  99.     a=a;
  100.     b=b;
  101.     c=c;
  102.     d=d;
  103.     v=v;
  104.     }
  105.  
  106. void RG0gmode(void ) {}
  107. void RG0tmode(void ) {}
  108.