h00041
s 00000/00000/00049
d D 1.2 83/03/31 12:41:53 mmm 2 1
c 
e
s 00049/00000/00000
d D 1.1 83/03/15 21:43:20 tes 1 0
c date and time created 83/03/15 21:43:20 by tes
e
u
4
U
t
T
I 1
subroutine gstxci (cli)
########################################################################
#                                                                      #
#          THIS MATERIAL IS CONFIDENTIAL AND IS FURNISHED UNDER        #
#          A WRITTEN LICENSE AGREEMENT.  IT MAY NOT BE USED,           #
#          COPIED OR DISCLOSED TO OTHERS EXCEPT IN ACCORDANCE          #
#          WITH THE TERMS OF THAT AGREEMENT.                           #
#                                                                      #
#          COPYRIGHT (C) 1982 GRAPHIC SOFTWARE SYSTEMS INC.            #
#          ALL RIGHTS RESERVED.                                        #
#                                                                      #
#     Function: Set text colour index                                  #
#                                                                      #
#     Input Parameters:                                                #
#            cli - text colour index from 0 to device maximum          #
#      Output Parameters:                                              #
#            none                                                      #
#                                                                      #
#      Errors:                                                         #
#            8  GKS not in proper state: GKS must be in one of the     #
#               states GKOP, WSOP, WSAC, or SGOP                       #
#            97 Colour index is less than zero                         #
#                                                                      #
#     Routines Called:                                                 #
#            errchk - perform appropriate error checking               #
#            gzatt  - internal routine to call gzddop                  #
#                                                                      #
########################################################################
integer cli

integer intout

ifdef(`ERROR_ON',`
   integer errchk, errind, ierdum(1)
   ')

include(`gkscom')
 
ifdef(`ERROR_ON',`
      rounum = GSTXCI
      errind = errchk(cli, ierdum)
      ')

   call gzatt (SETxTEXTxCOLORxINDEX, cli, intout)

   txclr = intout  # Set the current text color index in GKS common

   return
end
E 1
