3 #ifndef __NEONEXTION_NEXTIONCALLBACKFUNCTIONHANDLER
4 #define __NEONEXTION_NEXTIONCALLBACKFUNCTIONHANDLER
37 if (m_function != NULL)
38 m_function(type, widget);
Event handler for function pointers.
Definition: NextionCallbackFunctionHandler.h:12
NextionEventType
Type of events received from device.
Definition: NextionTypes.h:76
Interface for widgets that can be touched.
Definition: INextionTouchable.h:15
void handleNextionEvent(NextionEventType type, INextionTouchable *widget)
Handle a callback.
Definition: NextionCallbackFunctionHandler.h:35
NextionCallbackFunctionHandler(NextionFunction f)
Creates a new function pointer callback handler.
Definition: NextionCallbackFunctionHandler.h:25
void(* NextionFunction)(NextionEventType, INextionTouchable *)
Event handler function for display events.
Definition: NextionCallbackFunctionHandler.h:19
Interface for classes that handle callbacks from a display device.
Definition: INextionCallback.h:12