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

ICONCTRLA_GetPalette2

Tag for IconControlA(), Get Image color palette 2 (PPColorRegister)

Declaration

Source position: icon.pas line 123

const ICONCTRLA_GetPalette2 = ICONA_Dummy + 23;

Description

Per Icon Option for IconControlA() Get the colour palette for a palette mapped icon image, in this case the alternate icon image (icon^.do_Gadget.SelectRender). Note that this data is valid only for palette mapped icons; for other types, you may not receive any meaningful result. If there is no alternate image, no information may be available. Note that the number of palette entries in this table matches the number of colours in use when the icon was first created.

See also

ICONCTRLA_GetPalette1

  

Tag for IconControlA(), Get Image color palette 1 (PPColorRegister)

ICONCTRLA_SetPalette1

  

Tag for IconControlA(), Set Image color palette 1 (PColorRegister)

ICONCTRLA_SetPalette2

  

Tag for IconControlA(), Set Image color palette 2 (PColorRegister)

ICONCTRLA_SetPaletteSize1

  

Tag for IconControlA(), Set Size of image color palette 1 (LongInt)

ICONCTRLA_GetPaletteSize1

  

Tag for IconControlA(), Get Size of image color palette 1 (PLongInt)

ICONCTRLA_SetPaletteSize2

  

Tag for IconControlA(), Set Size of image color palette 2 (LongInt)

ICONCTRLA_GetPaletteSize2

  

Tag for IconControlA(), Get Size of image color palette 2 (PLongInt)


Documentation generated on: 2021-07-30