UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ui_node_textentry.h File Reference
#include "../ui_nodes.h"
#include "../ui_actions.h"

Go to the source code of this file.

Data Structures

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

Typedefs

typedef struct textEntryExtraData_s 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...
 

Typedef Documentation

extradata for the textentry, to custom draw and behaviour

Function Documentation

void UI_TextEntry_SetBackgroundByName ( uiNode_t node,
const char *  name 
)

set background sprite

Definition at line 77 of file ui_node_textentry.cpp.

References UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiTextEntryNode_t_set_background().

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().

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().