Class: TheMenuBar (of MenuBar)

The TheMenuBar class contains the code needed to have a custom menubar.

Properties

  • state

Methods

  • void init()

    Sets up the menu items. This is where you can enter what items you want to have in your menu.

  • void handleEvent(heapPtr pEvent)

    Checks which menu item has been selected (if any). It then executes the code associated with the selected item.