Definition of the on-pressed callback function. More...
Go to the source code of this file.
Functions | |
void | onPressed (Button *btn) |
Callback function for button pressed. More... | |
void | onHeld (Button *btn) |
Callback function for button held. More... | |
Variables | |
Button * | pressedBtn |
Button just pressed. More... | |
Definition of the on-pressed callback function.
This function performs some assertions on the state of the button list and the individual button pressed when a button is pressed.
Definition in file Pressed.cpp.
void onHeld | ( | Button * | btn | ) |
Callback function for button held.
btn | The button generaing the event. |
Definition at line 36 of file Pressed.cpp.
void onPressed | ( | Button * | btn | ) |
Callback function for button pressed.
btn | The button generaing the event. |
Definition at line 18 of file Pressed.cpp.
Button* pressedBtn |