44#define EXTRADATA_TYPE 0
74 behaviour->
name =
"texture";
void draw(uiNode_t *node) override
Draws the texture node.
Header for lua script functions.
bool Q_strnull(const char *string)
node behaviour, how a node work
Atomic structure used to define most of the UI.
#define UI_RegisterNodeProperty(BEHAVIOUR, NAME, TYPE, OBJECTTYPE, ATTRIBUTE)
Initialize a property.
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.
SharedPtr< uiNode > UINodePtr
void UI_RegisterTextureNode(uiBehaviour_t *behaviour)
const char * UI_GetReferenceString(const uiNode_t *const node, const char *ref)
const struct image_s * UI_LoadWrappedImage(const char *name)
Searches for a wrapped image in the image array.
void UI_DrawNormImage(bool flip, float x, float y, float w, float h, float sh, float th, float sl, float tl, const image_t *image)
Draw a normalized (to the screen) image.