25 #include "../ui_timer.h"
26 #include "../ui_parse.h"
27 #include "../ui_actions.h"
28 #include "../ui_behaviour.h"
29 #include "../ui_lua.h"
32 #include "../../../common/scripts_lua.h"
34 #define EXTRADATA_TYPE timerExtraData_t
35 #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE)
36 #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE)
77 behaviour->
name =
"timer";
void onWindowClosed(uiNode_t *node) override
bool UI_ExecuteLuaEventScript(uiNode_t *node, LUA_EVENT event)
Executes a lua event handler.
#define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE)
Initialize a property from extradata of node.
SharedPtr< uiNode > UINodePtr
void UI_RegisterTimerNode(uiBehaviour_t *behaviour)
void UI_ExecuteEventActions(uiNode_t *source, const uiAction_t *firstAction)
void Com_DPrintf(int level, const char *fmt,...)
A Com_Printf that only shows up if the "developer" cvar is set.
Atomic structure used to define most of the UI.
void * UI_SWIG_TypeQuery(const char *name)
This function queries the SWIG type table for a type information structure. It is used in combination...
virtual void draw(uiNode_t *node)
node behaviour, how a node work
GLsizei const GLvoid * data
void onWindowOpened(uiNode_t *node, linkedList_t *params) override
Called when we init the node on the screen.
int CL_Milliseconds(void)
void draw(uiNode_t *node) override