UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_node_textentry.h File Reference
#include "../ui_nodes.h"
#include "../ui_actions.h"
Include dependency graph for ui_node_textentry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  uiTextEntryNode
struct  textEntryExtraData_t
 extradata for the textentry, to custom draw and behaviour More...

Functions

void UI_TextEntryNodeFocus (uiNode_t *node, const uiCallContext_t *context)
 force edition of a textentry node
void UI_TextEntryNodeUnFocus (uiNode_t *node, const uiCallContext_t *context)
 force exit the edit mode of a textentry node
void UI_RegisterTextEntryNode (uiBehaviour_t *behaviour)
void UI_TextEntry_SetBackgroundByName (uiNode_t *node, const char *name)
 set background sprite

Function Documentation

◆ UI_RegisterTextEntryNode()

◆ UI_TextEntry_SetBackgroundByName()

void UI_TextEntry_SetBackgroundByName ( uiNode_t * node,
const char * name )

set background sprite

Definition at line 71 of file ui_node_textentry.cpp.

References name, UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiTextEntryNode_t_set_background().

◆ UI_TextEntryNodeFocus()

void UI_TextEntryNodeFocus ( uiNode_t * node,
const uiCallContext_t * context )

force edition of a textentry node

Note
the textentry must be on the active window

Definition at line 118 of file ui_node_textentry.cpp.

References UI_HasFocus(), and UI_RequestFocus().

Referenced by UI_RegisterTextEntryNode(), and uiTextEntryNode_t_focus().

◆ UI_TextEntryNodeUnFocus()

void UI_TextEntryNodeUnFocus ( uiNode_t * node,
const uiCallContext_t * context )

force exit the edit mode of a textentry node

Note
the textentry must be on the active window

Definition at line 130 of file ui_node_textentry.cpp.

References UI_HasFocus(), and UI_RemoveFocus().

Referenced by UI_RegisterTextEntryNode(), and uiTextEntryNode_t_unfocus().