Functions | |
| enum MENU_code | MENU_Quit (void) |
| void | MENU_SetTextColor (int TextColor) |
| int | MENU_GetTextColor (void) |
| void | MENU_SetBGndColor (int BGndColor) |
| int | MENU_GetBGndColor (void) |
| void | MENU_Remove (void) |
| void | MENU_Set (tMenu *mptr) |
| void | MENU_Question (char *str, int *answer) |
| void | MENU_ClearCurrentCommand (void) |
| void | MENU_ClearCurrentMenu (void) |
| void | MENU_Print (char *str) |
| void MENU_ClearCurrentCommand | ( | void | ) |
Set CurrentCommand to 0.
| void MENU_ClearCurrentMenu | ( | void | ) |
Set CurrentMenu to 0
| int MENU_GetBGndColor | ( | void | ) |
Return the background color used for menu.
| int MENU_GetTextColor | ( | void | ) |
Return the color used for text menu.
| void MENU_Print | ( | char * | str | ) |
Display a popup menu with a string.
| [in] | str | The string to display. |
| void MENU_Question | ( | char * | str, | |
| int * | answer | |||
| ) |
Dedicated menu for ask question and yes/no responses.
| [in] | str | A pointer to the string containing the question. |
| [out] | answer | 1 for yes, 0 for no. |
| enum MENU_code MENU_Quit | ( | void | ) |
Leave the current menu (stand for "cancel") and clear screen.
| MENU_LEAVE |
| void MENU_Remove | ( | void | ) |
Remove current menu, clear screen and set pointer "on".
| void MENU_Set | ( | tMenu * | mptr | ) |
Display provdided menu.
| [in] | mptr | A pointer to the menu to display. |
| void MENU_SetBGndColor | ( | int | BGndColor | ) |
Set the background color used for menu.
| [in] | BGndColor | New menu background color. |
| void MENU_SetTextColor | ( | int | TextColor | ) |
Set the color used for text menu.
| [in] | TextColor | New color used for menu text. |