•  Back 
  •  VDI Attributes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevst_color()
vsm_color()
vsf_color()
vsl_color()                                                             VDI

Syntax

WORD vsl_color( handle, color )
WORD handle, color;

Function      vsl_color() sets the color for line-drawing functions and
              objects with perimeters.

Opcode        17

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle. color specifies
              the new color to define for line-drawing.

Binding       contrl[0] = 17;
              contrl[1] = 0;
              contrl[3] = 1;
              contrl[6] = handle;

              intin[0] = color;

              vdi();

              return intout[0];

Return Value  This function returns the new color set (within bounds).

See Also      vst_color(), vsm_color(), vsf_color()

Group         VDI Attributes