28 #include "../ui_nodes.h" 29 #include "../ui_behaviour.h" 30 #include "../ui_parse.h" 31 #include "../ui_input.h" 32 #include "../ui_main.h" 37 #include "../../input/cl_keys.h" 38 #include "../../cl_video.h" 40 #include "../../../common/scripts_lua.h" 87 behaviour->
name =
"controls";
void onCapturedMouseMove(uiNode_t *node, int x, int y) override
Called when the node is captured by the mouse.
void UI_RegisterControlsNode(uiBehaviour_t *behaviour)
void UI_SetNewWindowPos(uiNode_t *window, int x, int y)
Sets new x and y coordinates for a given window.
SharedPtr< uiNode > UINodePtr
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...
void onMouseUp(uiNode_t *node, int x, int y, int button) override
void UI_NodeAbsoluteToRelativePos(const uiNode_t *node, int *x, int *y)
Update an absolute position to a relative one.
node behaviour, how a node work
void onMouseDown(uiNode_t *node, int x, int y, int button) override