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

ICONCTRLA_SetTransparentColor1

Tag for IconControlA(), Set first transparent image color; set to -1 if opaque (LongInt)

Declaration

Source position: icon.pas line 114

const ICONCTRLA_SetTransparentColor1 = ICONA_Dummy + 16;

Description

Per Icon Option for IconControlA() Set the transparent colour for a palette mapped icon image, in this case the regular icon image (icon^.do_Gadget.GadgetRender). The colour must be among the valid palette entries, e.g. for a 16 colour image, the transparent colour may not be larger than 15. To make the icon image opaque, set its transparent colour to -1.

See also

ICONCTRLA_GetTransparentColor1

  

Tag for IconControlA(), Get first transparent image color; -1 if opaque (PLongInt)

ICONCTRLA_SetTransparentColor2

  

Tag for IconControlA(), Set second transparent image color; set to -1 if opaque

ICONCTRLA_GetTransparentColor2

  

Tag for IconControlA(), Get second transparent image color; -1 if opaque


Documentation generated on: 2021-07-30