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

ICONCTRLA_GetTransparentColor1

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

Declaration

Source position: icon.pas line 115

const ICONCTRLA_GetTransparentColor1 = ICONA_Dummy + 17;

Description

Per Icon Option for IconControlA() Get the transparent colour for a palette mapped icon image, in this case the regular icon image (icon^.do_Gadget.GadgetRender). If the image is opaque, its "transparent colour" will be returned as -1. Note that this data is valid only for palette mapped icons; for other types, you may not receive any meaningful result.

See also

ICONCTRLA_SetTransparentColor1

  

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

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