src/shpntc.c

00001 
00006 /*
00007  *  PROGRAM NAME:  sh
00008  *
00009  *  (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES
00010  *  CORPORATION 12/1/2001.  ALL RIGHTS RESERVED.
00011  *
00012  *  Please refer to the LICENSE file in the top directory
00013  *
00014  *      author: Mike Henderson mhender@watson.ibm.com
00015  */
00016 
00017 static char *id="@(#) $Id: shpntc.c,v 1.2 2006/08/17 19:28:17 mhender Exp $";
00018 
00019 #include <shInternal.h>
00020 
00023 int sh_rp=0;
00024 int sh_gp=0;
00025 int sh_bp=0;
00026 
00036 void shpntc(int *r,int *g,int *b)
00037  {
00038   sh_rp=*r;
00039   sh_gp=*g;
00040   sh_bp=*b;
00041   return;
00042  }
00043 
00051 void shqpntc(int *r,int *g,int *b)
00052  {
00053   *r=sh_rp;
00054   *g=sh_gp;
00055   *b=sh_bp;
00056   return;
00057  }

Generated on Thu Aug 17 15:29:43 2006 for sh by  doxygen 1.4.6