Attention!
struct InitMenuItem
{
char* Text;
int Selected;
int Checked;
int Separator;
};
Use of the InitMenuItem structure instead of the FarMenuItem
structure is reasoned by the following:
FarMenuItem.Text variable is large, that's why direct
initalization of an array of FarMenuItem structures may significantly increase
memory usage.
You can use the InitMenuItems function for translation of InitMenuItem structures to FarMenuItem structures.