void UI_Node_Clone(uiNode_t const *source, uiNode_t *clone)
bool UI_NodeInstanceOf(const uiNode_t *node, const char *behaviourName)
Check the node inheritance.
bool UI_Node_IsDrawItselfChild(uiNode_t const *node)
bool UI_Node_IsBattleScape(uiNode_t const *node)
const char * UI_Node_GetTooltip(uiNode_t *node)
void UI_Node_DoLayout(uiNode_t *node)
uiNode_t * UI_FindNode(const uiNode_t *node, const char *name)
Recursive searches for a child node by name in the entire subtree.
bool UI_Node_DndEnter(uiNode_t *node)
void UI_Node_MiddleClick(uiNode_t *node, int x, int y)
void UI_InsertNode(uiNode_t *parent, uiNode_t *prevNode, uiNode_t *newNode)
Insert a node next another one into a node. If prevNode is nullptr add the node on the head of the wi...
void UI_NodeRelativeToAbsolutePoint(const uiNode_t *node, vec2_t pos)
Update a relative point to an absolute one.
void UI_Node_SetImage(uiNode_t *node, const char *name)
void UI_HideNode(uiNode_t *node)
Hides a given node.
void UI_Node_FocusLost(uiNode_t *node)
uiBehaviour_t * behaviour
void UI_Node_InitNodeDynamic(uiNode_t *node)
const char * UI_Node_GetText(uiNode_t *node)
void UI_Node_Loading(uiNode_t *node)
void UI_Node_SetItem(uiNode_t *node, const char *name, LUA_METHOD fcn)
This functions adds a lua based method to the internal uiNode behaviour.
void UI_GetNodeAbsPos(uiNode_t const *node, vec2_t pos)
Returns the absolute position of a node.
bool UI_Node_IsGhost(uiNode_t const *node)
int UI_Node_GetCellWidth(uiNode_t *node)
bool UI_Node_IsAbstract(uiNode_t const *node)
void UI_Node_CapturedMouseMove(uiNode_t *node, int x, int y)
bool UI_Node_KeyPressed(uiNode_t *node, unsigned int key, unsigned short unicode)
bool UI_Node_DndDrop(uiNode_t *node, int x, int y)
bool UI_Node_DndMove(uiNode_t *node, int x, int y)
void UI_NodeSetPropertyFromRAW(uiNode_t *node, const value_t *property, const void *rawValue, int rawType)
void UI_Node_RightClick(uiNode_t *node, int x, int y)
void UI_AppendNode(uiNode_t *parent, uiNode_t *newNode)
add a node at the end of the node child
void UI_NodeSetSize(uiNode_t *node, vec2_t size)
Update the node size and fire the size callback.
void UI_Node_DeleteNode(uiNode_t *node)
void UI_MoveNode(uiNode_t *const parent, uiNode_t *prevNode, uiNode_t *node)
Moves a node in the tree.
bool UI_Node_KeyReleased(uiNode_t *node, unsigned int key, unsigned short unicode)
void UI_NodeSetPos(uiNode_t *node, vec2_t pos)
Update the node size and fire the pos callback.
void UI_Node_Activate(uiNode_t *node)
void UI_Node_LeftClick(uiNode_t *node, int x, int y)
intptr_t UI_Node_GetMemorySize(uiNode_t const *node)
void UI_NodeAbsoluteToRelativePos(uiNode_t const *node, int *x, int *y)
Update an absolute position to a relative one.
float UI_GetFloatFromNodeProperty(uiNode_t const *node, const value_t *property)
Return a float from a node property.
void UI_NodeSetBox(uiNode_t *node, float x, float y, float w, float h)
Update the node size and height and fire callbacks.
bool UI_NodeSetProperty(uiNode_t *node, const value_t *property, const char *value)
Set node property.
bool UI_Node_IsFunction(uiNode_t const *node)
uiNode_t * UI_RemoveNode(uiNode_t *node, uiNode_t *child)
Remove a node from a parent node.
void UI_Node_CapturedMouseLost(uiNode_t *node)
bool UI_Node_IsVirtual(uiNode_t const *node)
void UI_Node_FocusGained(uiNode_t *node)
void UI_Node_WindowActivate(uiNode_t *node)
const char * UI_Node_GetWidgetName(uiNode_t const *node)
void UI_Node_MouseEnter(uiNode_t *node)
int LUA_METHOD
holds a reference to a lua event handler
void UI_UnHideNode(uiNode_t *node)
Unhides a given node.
void UI_GetNodeScreenPos(const uiNode_t *node, vec2_t pos)
Returns the absolute position of a node in the screen. Screen position is not used for the node rende...
bool UI_Node_Scroll(uiNode_t *node, int deltaX, int deltaY)
bool UI_Node_IsWindow(uiNode_t const *node)
bool UI_HasNodeMethod(uiNode_t *node, const char *name)
Returns true if a node method of given name is available on this node or its super.
void UI_Invalidate(uiNode_t *node)
Invalidate a node and all his parent to request a layout update.
Atomic structure used to define most of the UI.
uiNode_t * UI_GetPrevNode(const uiNode_t *node)
Returns the previous node based on the order of nodes in the parent.
void UI_Node_WindowClosed(uiNode_t *node)
bool UI_Node_DndFinished(uiNode_t *node, bool isDroped)
bool UI_Node_IsInvisible(uiNode_t const *node)
bool UI_Node_IsDisabled(uiNode_t const *node)
uiNode_t * UI_GetNode(const uiNode_t *node, const char *name)
Search a child node by given name.
void UI_Node_MouseLeave(uiNode_t *node)
void UI_Node_SetFont(uiNode_t *node, const char *name)
void UI_Node_SetDisabled(uiNode_t *node, const bool value)
void UI_Node_GetClientPosition(uiNode_t const *node, vec2_t position)
LUA_METHOD UI_Node_GetItem(uiNode_t *node, const char *name)
This functions queries a lua based method in the internal uiNode behaviour.
void UI_Node_SetText(uiNode_t *node, const char *text)
void UI_Node_Loaded(uiNode_t *node)
void UI_AddNodeMethod(uiNode_t *node, const char *name, LUA_METHOD fcn)
Adds a lua based method to the list of available node methods for calling.
void UI_Node_PropertyChanged(uiNode_t *node, const value_t *property)
node behaviour, how a node work
void UI_Node_Draw(uiNode_t *node)
void UI_Node_MouseDown(uiNode_t *node, int x, int y, int button)
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
bool UI_GetNodeMethod(const uiNode_t *node, const char *name, LUA_METHOD &fcn)
Finds the lua based method on this node or its super.
bool UI_Node_IsScrollableContainer(uiNode_t const *node)
void UI_Node_PosChanged(uiNode_t *node)
void UI_Node_DndLeave(uiNode_t *node)
bool UI_Node_IsDrawable(uiNode_t const *node)
bool UI_Node_StartDragging(uiNode_t *node, int startX, int startY, int currentX, int currentY, int button)
bool UI_NodeInstanceOfPointer(const uiNode_t *node, const uiBehaviour_t *behaviour)
Check the node inheritance.
void UI_Node_InitNode(uiNode_t *node)
const char * UI_GetStringFromNodeProperty(const uiNode_t *node, const value_t *property)
Return a string from a node property.
void UI_Validate(uiNode_t *node)
Validate a node tree.
int UI_Node_GetCellHeight(uiNode_t *node)
void UI_Node_MouseMove(uiNode_t *node, int x, int y)
void UI_Node_DrawOverWindow(uiNode_t *node)
void UI_NodeGetPoint(const uiNode_t *node, vec2_t pos, int pointDirection)
return a relative position of a point into a node.
void UI_Node_WindowOpened(uiNode_t *node, linkedList_t *params)
bool UI_Node_MouseLongPress(uiNode_t *node, int x, int y, int button)
void UI_Node_MouseUp(uiNode_t *node, int x, int y, int button)
void UI_Node_DrawTooltip(const uiNode_t *node, int x, int y)
bool UI_Node_IsFlashing(uiNode_t const *node)
void UI_Node_SizeChanged(uiNode_t *node)
void UI_Node_SetTooltip(uiNode_t *node, const char *tooltip)
void UI_UpdateRoot(uiNode_t *node, uiNode_t *newRoot)
bool UI_Node_IsOptionContainer(uiNode_t const *node)