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-File8.6.19 edit_set_colour TOS Name: »Edit Object Set Colour« - Alter settings: Colours Opcode: 217 (sub-opcode 2) Syntax: void edit_set_colour ( OBJECT *tree, int16_t obj, int16_t tcolour, int16_t bcolour ); Description: The call edit_set_colour is used to alter the colours in an editable object. The following apply: Parameter Meaning tree Object tree obj Object index tcolour Text colour bcolour Background colour If one of the two attributes is to remain unchanged then -1 can be passed. If the editable object was opened previously, then one should generally trigger a redraw when changing one of the attributes. Return value: The function does not return a result. Availability: As of MagiC 5.20 by means of a shared library. Group: Editable object functions See Also: Binding