NeoNextion
Arduino library for the Nextion displays.
|
Event handler for function pointers. More...
#include <NextionCallbackFunctionHandler.h>
Public Types | |
typedef void(* | NextionFunction )(NextionEventType, INextionTouchable *) |
Event handler function for display events. | |
Public Member Functions | |
NextionCallbackFunctionHandler (NextionFunction f) | |
Creates a new function pointer callback handler. More... | |
void | handleNextionEvent (NextionEventType type, INextionTouchable *widget) |
Handle a callback. More... | |
Event handler for function pointers.
|
inline |
Creates a new function pointer callback handler.
f | Pointer to callback function |
|
inlinevirtual |
Handle a callback.
type | Event type |
widget | Pointer to the widget that fired the event |
Displatches the event to the function.
Implements INextionCallback.