Represents a palette that contains various color specifications.

Syntax

typedef struct{
  int ForeColor;
  int BackColor;
  int Select_ForeColor;
  int Select_BackColor;
  int Control_ForeColor;
} AM_ColorPalette, *pAM_ColorPalette;

Members

ForeColor
Specify the character color when not selected.
BackColor
Specify the background color of the chracter when not selected.
Select_ForeColor
Specify the character color when selected.
Select_BackColor
Specify the background color of the chracter when selected.
Control_ForeColor
Specifies the display color of controls such as icons, radio buttons, and check boxes.

Remarks

Define an array of this structures and refer to it with NumberOfColorPalette and ColorPalettes of AM_Option structure.

Requirements

Header file:
lib.h
AdvancedMenu.h

See also

Last updated: 2020/10/04