UFO: Alien Invasion
Loading...
Searching...
No Matches
textEntryExtraData_t Struct Reference

extradata for the textentry, to custom draw and behaviour More...

#include <ui_node_textentry.h>

Collaboration diagram for textEntryExtraData_t:
Collaboration graph

Data Fields

bool isPassword
bool clickOutAbort
int cursorPosition
struct uiAction_s * onAbort
uiSprite_tbackground
LUA_EVENT lua_onTextEntryAbort

Detailed Description

extradata for the textentry, to custom draw and behaviour

Definition at line 42 of file ui_node_textentry.h.

Field Documentation

◆ background

uiSprite_t* textEntryExtraData_t::background

Sprite used as a background

Definition at line 47 of file ui_node_textentry.h.

◆ clickOutAbort

bool textEntryExtraData_t::clickOutAbort

If we click out an activated node, it abort the edition

Definition at line 44 of file ui_node_textentry.h.

◆ cursorPosition

int textEntryExtraData_t::cursorPosition

Cursor position (offset of next UTF-8 char to the right)

Definition at line 45 of file ui_node_textentry.h.

◆ isPassword

bool textEntryExtraData_t::isPassword

Display '*' instead of the real text

Definition at line 43 of file ui_node_textentry.h.

◆ lua_onTextEntryAbort

LUA_EVENT textEntryExtraData_t::lua_onTextEntryAbort

references the event in lua: on_textabort(node)

Definition at line 48 of file ui_node_textentry.h.

◆ onAbort

struct uiAction_s* textEntryExtraData_t::onAbort

Definition at line 46 of file ui_node_textentry.h.


The documentation for this struct was generated from the following file: