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: shlinc.c,v 1.2 2006/08/17 19:28:17 mhender Exp $"; 00018 00019 #include <shInternal.h> 00020 00023 int sh_rl=0; 00024 int sh_gl=0; 00025 int sh_bl=0; 00026 00036 void shlinc(int *r,int *g,int *b) 00037 { 00038 sh_rl=*r; 00039 sh_gl=*g; 00040 sh_bl=*b; 00041 } 00042 00050 void shqlinc(int *r,int *g,int *b) 00051 { 00052 *r=sh_rl; 00053 *g=sh_gl; 00054 *b=sh_bl; 00055 }