void UI_RegisterTextEntryNode(uiBehaviour_t *behaviour)
void onLoading(uiNode_t *node) override
Call before the script initialization of the node.
void onFocusGained(uiNode_t *node) override
Called when the node got the focus.
void UI_TextEntryNodeUnFocus(uiNode_t *node, const uiCallContext_t *context)
force exit the edit mode of a textentry node
void draw(uiNode_t *node) override
void UI_TextEntry_SetBackgroundByName(uiNode_t *node, const char *name)
set background sprite
struct textEntryExtraData_s textEntryExtraData_t
extradata for the textentry, to custom draw and behaviour
Contain the context of the calling of a function.
void UI_TextEntryNodeFocus(uiNode_t *node, const uiCallContext_t *context)
force edition of a textentry node
void onFocusLost(uiNode_t *node) override
Called when the node lost the focus.
bool onKeyPressed(uiNode_t *node, unsigned int key, unsigned short unicode) override
Called when we press a key when the node got the focus.
void onLeftClick(uiNode_t *node, int x, int y) override
Called when the user click with the right mouse button.