Photon microGUI widgets library 0.6.0
|
#include <PhWidgetsNativeTypes.h>
Event handler structure.
The PtRawCallback_t structure lets you specify event handlers (raw and filter callbacks) for your application's widgets. This structure contains at least:
event_mask A bitmap that specifies which events trigger the function specified in
event_f
. See PhEvent_t.
int (*event_f)( PtWidget_t *, void *, PtCallbackInfo_t * ) A pointer to the callback function.
void *data A pointer to data that you want to pass as the second parameter to the callback function when it's invoked.