![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
#define BUTTON_TYPE_PRESS #define BUTTON_TYPE_RELEASE typedef SimplifiedEvents; gboolean (*ActionFunc) (SimplifiedEvents *event, VisuData *data); typedef CallbackFunctions;
These definitions are used to give a library and plateform independent simplified event handlers.
#define BUTTON_TYPE_PRESS 1
Value that can be put into field buttonType of structure SimplifiedEvents_struct.
#define BUTTON_TYPE_RELEASE 2
Value that can be put into field buttonType of structure SimplifiedEvents_struct.
typedef struct SimplifiedEvents_struct SimplifiedEvents;
A short way to address SimplifiedEvents_struct objects.
gboolean (*ActionFunc) (SimplifiedEvents *event, VisuData *data);
An interface to methods that can be called whenever an action occurs.
|
the event that triggered the action ; |
|
the VisuData object on which the action occured. |
Returns : |
TRUE if action should be stopped after this call. |