VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Properties | List of all members
MenuButton Class Reference

A selectable text button that fires an action when released. More...

Inheritance diagram for MenuButton:
KeyNavFocusArea

Properties

string buttonText
 Text that is displayed on the button, describing what action the button fires. More...
 
- Properties inherited from KeyNavFocusArea
Item focusUp
 Item to transfer focus to upon an "up" press. More...
 
Item focusDown
 Item to transfer focus to upon an "down" press. More...
 
Item focusLeft
 Item to transfer focus to upon an "left" press. More...
 
Item focusRight
 Item to transfer focus to upon an "right" press. More...
 
bool captureBackNavigation
 Whether or not the back button event is handled. More...
 
int backNavigationMode
 Mode that determines what keys behave as back buttons. More...
 

Additional Inherited Members

- Signals inherited from KeyNavFocusArea
void pressed ()
 Emitted when this area receives a button press. More...
 
void released ()
 Emitted when this area receives a button release. More...
 
void escaped ()
 Emitted when a back navigation event occurs. More...
 

Detailed Description

A selectable text button that fires an action when released.

Note
A sound effect will play when the action fires.

Property Documentation

string MenuButton::buttonText

Text that is displayed on the button, describing what action the button fires.