28 #include "../ui_nodes.h"
29 #include "../ui_behaviour.h"
32 #include "../../client.h"
34 #include "../../../common/scripts_lua.h"
101 behaviour->
name =
"battlescape";
bool onScroll(uiNode_t *node, int deltaX, int deltaY) override
Called when user request scrolling on the battlescape.
void UI_RegisterBattlescapeNode(uiBehaviour_t *behaviour)
void onWindowOpened(uiNode_t *node, linkedList_t *params) override
void onLoading(uiNode_t *node) override
Call before the script initialized the node.
void onWindowClosed(uiNode_t *node) override
void CL_CameraZoomIn(void)
Zooms the scene of the battlefield in.
SharedPtr< uiNode > UINodePtr
Atomic structure used to define most of the UI.
void draw(uiNode_t *node) override
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 UI_GetNodeAbsPos(const uiNode_t *node, vec2_t pos)
Returns the absolute position of a node.
void onSizeChanged(uiNode_t *node) override
Callback stub.
node behaviour, how a node work
static void UI_SetRenderRect(int x, int y, int width, int height)
Determine the position and size of the render.
void CL_CameraZoomOut(void)
Zooms the scene of the battlefield out.