Set the palette index of the menu item.

Syntax

bool AM_SetPaletteIndex(
  MENU_HANDLE menu,
  int id,
  int paletteIndex
);

Parameters

menu
[in] Menu handle
id
[in] Item ID of menu item.
paletteIndex
[in] Palette index number.

Return value

Returns true if the function succeeds, false otherwise.

Remarks

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

Requirements

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

Last updated: 2020/10/09