27 #include "../ui_nodes.h"
29 #include "../../cl_renderer.h"
44 #define UI_MAX_MODELS 128
void onCapturedMouseMove(uiNode_t *node, int x, int y) override
void UI_RegisterModelNode(uiBehaviour_t *behaviour)
void onMouseDown(uiNode_t *node, int x, int y, int button) override
uiModel_t * UI_GetUIModel(const char *modelName)
Returns pointer to UI model.
void draw(uiNode_t *node) override
void UI_DrawModelNode(uiNode_t *node, const char *source)
void UI_Model_SetModelSource(uiNode_t *node, const char *modelName)
struct modelExtraData_s modelExtraData_t
extradata for the model node
void clone(uiNode_t const *source, uiNode_t *clone) override
Call to update a cloned node.
void onMouseUp(uiNode_t *node, int x, int y, int button) override
void UI_Model_SetAnimationSource(uiNode_t *node, const char *animName)
void UI_Model_SetSkinSource(uiNode_t *node, const char *skinName)
Atomic structure used to define most of the UI.
void doLayout(uiNode_t *node) override
Call to update the node layout. This common code revalidates the node tree.
struct uiModel_s uiModel_t
Model that have more than one part (top and down part of an aircraft)
void UI_Model_SetTagSource(uiNode_t *node, const char *tagName)
void initNodeDynamic(uiNode_t *node) override
node behaviour, how a node work
void deleteNode(uiNode_t *node) override
void onLoading(uiNode_t *node) override
Called before loading. Used to set default attribute values.
Model that have more than one part (top and down part of an aircraft)
void onLoaded(uiNode_t *node) override