![]() |
cmdfx 0.3.2
Lightweight game engine for your terminal
|
Called when a button is clicked. More...
#include <events.h>
Public Attributes | |
| CmdFX_MouseEvent * | mouseEvent |
| The mouse event that triggered the button event. | |
| void * | button |
| The button that was clicked. | |
Called when a button is clicked.
The data is a pointer to a struct CmdFX_ButtonEvent.
| void* CmdFX_ButtonEvent::button |
The button that was clicked.
This is a pointer to the button that was clicked.
| CmdFX_MouseEvent* CmdFX_ButtonEvent::mouseEvent |
The mouse event that triggered the button event.
This is a pointer to the mouse event that triggered the button event. This event is also passed to the event callback.