UFO: Alien Invasion
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 More...
 
void UI_TextEntryNodeUnFocus (uiNode_t *node, const uiCallContext_t *context)
 force exit the edit mode of a textentry node More...
 
void UI_RegisterTextEntryNode (uiBehaviour_t *behaviour)
 
void UI_TextEntry_SetBackgroundByName (uiNode_t *node, const char *name)
 set background sprite More...
 

Function Documentation

◆ UI_RegisterTextEntryNode()

◆ UI_TextEntry_SetBackgroundByName()

void UI_TextEntry_SetBackgroundByName ( uiNode_t node,
const char *  name 
)

set background sprite

Definition at line 77 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 124 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 136 of file ui_node_textentry.cpp.

References UI_HasFocus(), and UI_RemoveFocus().

Referenced by UI_RegisterTextEntryNode(), and uiTextEntryNode_t_unfocus().