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 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 getClientPosition(uiNode_t const *node, vec2_t position) override
bool onMouseLongPress(uiNode_t *node, int x, int y, int button) override
Send mouse event when a pressed mouse button is dragged.
void draw(uiNode_t *node) override
Handles Button draw.
void onPropertyChanged(uiNode_t *node, const value_t *property) override
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).
void onMouseUp(uiNode_t *node, int x, int y, int button) override
bool onScroll(uiNode_t *node, int deltaX, int deltaY) override
Handle mouse wheel scrolling.
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.
void onCapturedMouseMove(uiNode_t *node, int x, int y) override
void doLayout(uiNode_t *node) override
Call to update the node layout. This common code revalidates the node tree.
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
node behaviour, how a node work
Atomic structure used to define most of the UI.
void UI_Panel_SetBackgroundByName(uiNode_t *node, const char *name)
void UI_StarLayout(uiNode_t *node)
Do a star layout with child according to there num.
void UI_RegisterPanelNode(uiBehaviour_t *behaviour)
@ LAYOUTALIGN_ENSURE_32BIT
@ LAYOUTALIGN_BOTTOMRIGHT