Gets the palette index set for the menu item.

Syntax

int AM_GetPaletteIndex(
  MENU_HANDLE menu,
  int id
);

Parameters

menu
[in] Menu handle
id
[in] Item ID of menu item.

Return value

Returns the palette index set for the menu item specified by id.

Remarks

The initial value of the palette index is set with paletteIndex of AM_MenuItem structure of the menu item.
You can change the palette index of the menu item with AM_SetPaletteIndex function.

Requirements

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

Last updated: 2020/10/09