97 #define UI_GET_VERTICAL_ALIGN(align) ((align >= LAYOUTALIGN_SPECIAL)?LAYOUTALIGN_NONE:(LAYOUTALIGN_V_MASK & align))
102 #define UI_GET_HORIZONTAL_ALIGN(align) ((align >= LAYOUTALIGN_SPECIAL)?LAYOUTALIGN_NONE:(LAYOUTALIGN_H_MASK & align))
void onPropertyChanged(uiNode_t *node, const value_t *property) override
void draw(uiNode_t *node) override
Handles Button draw.
void doLayout(uiNode_t *node) override
Call to update the node layout. This common code revalidates the node tree.
void UI_StarLayout(uiNode_t *node)
Do a star layout with child according to there num.
void UI_RegisterPanelNode(uiBehaviour_t *behaviour)
bool onMouseLongPress(uiNode_t *node, int x, int y, int button) override
Send mouse event when a pressed mouse button is dragged.
void onLoaded(uiNode_t *node) override
Handled after the end of the load of the node from script (all data and/or child are set) ...
bool onScroll(uiNode_t *node, int deltaX, int deltaY) override
Handle mouse wheel scrolling.
void onLoading(uiNode_t *node) override
Handled after the end of the load of the node from script (all data and/or child are set) ...
void onCapturedMouseMove(uiNode_t *node, int x, int y) override
void onMouseUp(uiNode_t *node, int x, int y, int button) override
bool onStartDragging(uiNode_t *node, int startX, int startY, int currentX, int currentY, int button) override
Send mouse event when a pressed mouse button is dragged.
Atomic structure used to define most of the UI.
void UI_Panel_SetBackgroundByName(uiNode_t *node, const char *name)
node behaviour, how a node work
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
void getClientPosition(uiNode_t const *node, vec2_t position) override