Unit 'icon' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

ChangeToSelectedIconColor

Modify an RGB colour value for use in a selected icon image

Declaration

Source position: icon.pas line 261

procedure ChangeToSelectedIconColor(

  Cr: Pointer

);

Arguments

Cr

  

Pointer to a ColorRegister, containing the RGB colour value to be changed.

Description

This function will change the provided RGB colour value to make it suitable for use in an icon's select image. This may involve darkening or toning the colour. Usually, icon.library calls this function when creating a select image for palette mapped icons which do not contain "real" select images.


Documentation generated on: 2021-07-30