home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / t / tel2305s.zip / RG / RG0.C < prev    next >
C/C++ Source or Header  |  1992-02-25  |  2KB  |  105 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. #include "externs.h"
  9.  
  10. static char *nullname="Null device--do not display output";
  11.  
  12. int RG0newwin(void)
  13. {
  14.     return(0);
  15. }
  16.  
  17. void RG0clrscr(int w) {
  18. /* Needed for possible future functionality */
  19.     w=w;    
  20. }
  21.  
  22. void RG0close(int w) {
  23. /* Needed for possible future functionality */
  24.     w=w;    
  25. }
  26.  
  27. void RG0point(int w,int x,int y) {
  28. /* Needed for possible future functionality */
  29.     w=w;
  30.     x=x;
  31.     y=y;
  32. }
  33.  
  34. void RG0drawline(int w,int a,int b,int c,int d) {
  35. /* Needed for possible future functionality */
  36.     w=w;
  37.     a=a;
  38.     b=b;
  39.     c=c;
  40.     d=d;
  41. }
  42.  
  43. void RG0pagedone(int w) {
  44. /* Needed for possible future functionality */
  45.     w=w;    
  46. }
  47.  
  48. void RG0dataline(int w,char *data,int count) {
  49. /* Needed for possible future functionality */
  50.     w=w;
  51.     data=data;
  52.     count=count;
  53. }
  54.  
  55. void RG0pencolor(int w,int color){
  56. /* Needed for possible future functionality */
  57.     w=w;
  58.     color=color;
  59. }
  60.  
  61. void RG0charmode(int w,int rotation,int size)
  62. {
  63. /* Needed for possible future functionality */
  64.     w=w;
  65.     rotation=rotation;
  66.     size=size;
  67. }
  68.  
  69. void RG0showcur(void ) {}
  70.  
  71. void RG0lockcur(void ) {}
  72.  
  73. void RG0hidecur(void ) {}
  74.  
  75. void RG0bell(int w) {
  76. /* Needed for possible future functionality */
  77.     w=w;    
  78. }
  79.  
  80.  
  81. char *RG0devname(void)
  82. {
  83.     return(nullname);
  84. }
  85.  
  86. void RG0uncover(int w) {
  87. /* Needed for possible future functionality */
  88.     w=w;    
  89. }
  90.  
  91. void RG0init(void ) {}
  92.  
  93. void RG0info(int w,int a,int b,int c,int d,int v) {
  94. /* Needed for possible future functionality */
  95.     w=w;
  96.     a=a;
  97.     b=b;
  98.     c=c;
  99.     d=d;
  100.     v=v;
  101. }
  102.  
  103. void RG0gmode(void ) {}
  104. void RG0tmode(void ) {}
  105.