Class: MainMenuItemHandler

MainMenuItemHandler()

This class sets up the main menu buttons, animates submenu that opens when clicking on category buttons, assigns the defined actions and hotkeys to every button.

Constructor

Source:

Members

ButtonHeight

Vertical size per button.
Source:

Margin

Distance between consecutive buttons.
Source:
Collapse / expansion speed in pixels per milliseconds used when animating the button menu size.
Source:

Methods

performButtonAction()

Expand submenu or perform action specified by the button object.
Source:

pressButton()

Expand selected submenu, or collapse if it already is expanded.
Source: