Set the palette index of the list item.

Syntax

bool AL_SetPaletteIndex(
  LIST_HANDLE list,
  int index,
  int paletteIndex
);

Parameters

list
[in] List handle
index
[in] Index number of the list item.
paletteIndex
[in] Palette index number.

Return value

Returns true if the function succeeds, false otherwise.

Remarks

Change the palette index of the list item specified by index and update the display.

The palette index number set for the list item can be obtained with the listItem.paletteIndex member of the AL_ListItemData structure that can be obtained with AL_GetListItemData function.

Requirements

Header file:
lib.h
AdvancedMenu.h
Library file:
libAdvancedMenu.a
libSTARTUPOPH5000.a

See also

Last updated: 2020/10/09