Return to the main Raptor page
Return to Menu page
Description
This block is used to define a menu screen on the Veecan display. The output functions are called automatically when the screen is loaded or active.
Inputs
Outputs
Output
|
Type
|
Description
|
CreateMenu()
|
FnCall
|
This function is called once when the menu is entered. It should setup all the static elements.
|
UpdateMenu()
|
FnCall
|
This function is called regularly when the screen is active to update the dynamic elements of the menu.
|
ItemSelected()
|
FnCall
|
This function is called when a menu item is selected.
|
SelectedItem
|
uint32
|
This is the index of the menu item which was selected.
|
IsCurrentScreen
|
boolean
|
Output indicates if this screen is the current screen.
|
Parameters
Parameter
|
Type
|
Description
|
Menu Name
|
String
|
Name of screen being defined.
|
Number of Items
|
Number
|
Defines the number of items in this menu.
|
Supported Versions