•  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.35  vs_ctab_entry                                              TOS

 Name:         »Set colour table entry«

 Opcode:       205 (Sub-Opcode 1)

 Syntax:       int16_t vs_ctab_entry( int16_t handle, int16_t index, 
               int32_t color_space, COLOR_ENTRY *color );

 Description:  The call vs_ctab_entry sets a colour value in the 
               colour table, i.e. for modes with up to 256 colours a 
               CLUT entry will be changed. If at all possible, 
               programs should not change the colours of the screen!

                Parameter    Meaning

                handle       Workstation identifier
                index        Colour table index
                color_space  Colour space (at present only 0 for the 
                             colour space set, or CSPACE_RGB)
                color        Farbtabellenindex

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

 Availability: As of NVDI 5.00.

 Group:        Colour table functions

 See Also:     Binding