UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
windowExtraData_t Struct Reference

extradata for the window node More...

#include <ui_node_window.h>

Data Fields

vec2_t noticePos
 
bool dragButton
 
bool closeButton
 
bool preventTypingEscape
 
bool modal
 
bool dropdown
 
bool isFullScreen
 
bool fill
 
bool starLayout
 
uiNode_tparent
 
struct uiKeyBinding_skeyList
 
struct uiAction_sonWindowOpened
 
struct uiAction_sonWindowClosed
 
struct uiAction_sonWindowActivate
 
struct uiAction_sonScriptLoaded
 
LUA_EVENT lua_onWindowOpened
 
LUA_EVENT lua_onWindowClosed
 
LUA_EVENT lua_onWindowActivate
 
LUA_EVENT lua_onScriptLoaded
 
node_index_tindex
 
node_index_tindex_hash [INDEXEDCHILD_HASH_SIZE]
 
uiSprite_tbackground
 

Detailed Description

extradata for the window node

Definition at line 63 of file ui_node_window.h.

Field Documentation

uiSprite_t* windowExtraData_t::background

Sprite used as a background

Definition at line 93 of file ui_node_window.h.

bool windowExtraData_t::closeButton

If true, we init the window with a header button to close it

Definition at line 66 of file ui_node_window.h.

bool windowExtraData_t::dragButton

If true, we init the window with a header to move it

Definition at line 65 of file ui_node_window.h.

bool windowExtraData_t::dropdown

very special property force the window to close if we click outside

Definition at line 69 of file ui_node_window.h.

bool windowExtraData_t::fill

If true, use all the screen space allowed

Definition at line 71 of file ui_node_window.h.

node_index_t* windowExtraData_t::index

Definition at line 89 of file ui_node_window.h.

node_index_t* windowExtraData_t::index_hash[INDEXEDCHILD_HASH_SIZE]

Definition at line 90 of file ui_node_window.h.

bool windowExtraData_t::isFullScreen

Internal data to allow fullscreen windows without the same size

Definition at line 70 of file ui_node_window.h.

struct uiKeyBinding_s* windowExtraData_t::keyList

Definition at line 76 of file ui_node_window.h.

LUA_EVENT windowExtraData_t::lua_onScriptLoaded

Definition at line 87 of file ui_node_window.h.

LUA_EVENT windowExtraData_t::lua_onWindowActivate

Definition at line 86 of file ui_node_window.h.

LUA_EVENT windowExtraData_t::lua_onWindowClosed

Definition at line 85 of file ui_node_window.h.

LUA_EVENT windowExtraData_t::lua_onWindowOpened

Definition at line 84 of file ui_node_window.h.

bool windowExtraData_t::modal

If true, we can't click outside the window

Definition at line 68 of file ui_node_window.h.

vec2_t windowExtraData_t::noticePos

the position where the cl.msgText messages are rendered

Definition at line 64 of file ui_node_window.h.

struct uiAction_s* windowExtraData_t::onScriptLoaded

Invoked after all UI scripts are loaded

Definition at line 82 of file ui_node_window.h.

struct uiAction_s* windowExtraData_t::onWindowActivate

Called when a windows gets active again after some other window was popped from the stack

Definition at line 81 of file ui_node_window.h.

struct uiAction_s* windowExtraData_t::onWindowClosed

Invoked when the window is removed from the rendering stack

Definition at line 80 of file ui_node_window.h.

struct uiAction_s* windowExtraData_t::onWindowOpened

list of key binding

Todo:
think about converting it to action instead of node

Invoked when the window is added to the rendering stack

Definition at line 79 of file ui_node_window.h.

uiNode_t* windowExtraData_t::parent

to create child window

Definition at line 74 of file ui_node_window.h.

bool windowExtraData_t::preventTypingEscape

If true, we can't use ESC button to close the window

Definition at line 67 of file ui_node_window.h.

bool windowExtraData_t::starLayout

If true, do a star layout (move child into a corner according to his num)

Definition at line 72 of file ui_node_window.h.


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