•  Back 
  •  Colour table functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.9.33  vs_ctab                                                    TOS

 Name:         »Set colour table«

 Opcode:       205 (Sub-Opcode 0)

 Syntax:       int16_t vs_ctab( int16_t handle, COLOR_TAB *ctab );

 Description:  The call vs_ctab copies the colour table, sets the 
               colours in the hardware if a CLUT is present, and 
               returns the number of set colour entries. If at all 
               possible, programs should not change the colours of the 
               screen!

                Parameter Meaning

                handle  Workstation identifier
                ctab    Memory block to which the colour table is 
                        copied

 Return value: The function returns the number of entries set.

 Availability: As of NVDI 5.00.

 Group:        Colour table functions

 See Also:     Binding