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

ICONCTRLA_GetPalette1

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

Declaration

Source position: icon.pas line 87

const ICONCTRLA_GetPalette1 = ICONA_Dummy + 21;

Description

Per Icon Option for IconControlA() Get the colour palette for a palette mapped icon image, in this case the regular icon image (icon^.do_Gadget.GadgetRender). Note that this data is valid only for palette mapped icons; for other types, you may not receive any meaningful result. 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_SetPalette1

  

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

ICONCTRLA_SetPalette2

  

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

ICONCTRLA_GetPalette2

  

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

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