41#define EXTRADATA_TYPE zoneExtraData_t
42#define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE)
95 behaviour->
name =
"zone";
Header file for keyboard handler.
void onLoading(uiNode_t *node) override
Call before the script initialized the node.
void onMouseUp(uiNode_t *node, int x, int y, int button) override
void onMouseDown(uiNode_t *node, int x, int y, int button) override
void onCapturedMouseLost(uiNode_t *node) override
Called when the node have lost the captured node We clean cached data.
Header for lua script functions.
node behaviour, how a node work
Atomic structure used to define most of the UI.
struct uiAction_s * onClick
void UI_ExecuteEventActions(uiNode_t *source, const uiAction_t *firstAction)
#define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE)
Initialize a property from extradata of node.
void * UI_SWIG_TypeQuery(const char *name)
This function queries the SWIG type table for a type information structure. It is used in combination...
SharedPtr< uiNode > UINodePtr
static uiTimer_t * capturedTimer
static void UI_ZoneNodeRepeat(uiNode_t *node, uiTimer_t *timer)
void UI_RegisterZoneNode(uiBehaviour_t *behaviour)
uiTimer_t * UI_AllocTimer(uiNode_t *node, int firstDelay, timerCallback_t callback)
Allocate a new time for a node.
void UI_TimerStart(uiTimer_t *timer)
Restart a timer.
void UI_TimerRelease(uiTimer_t *timer)
Release the timer. It no more exists.