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

extradata for the window node More...

#include <ui_node_window.h>

Collaboration diagram for windowExtraData_t:
Collaboration graph

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_s * keyList
struct uiAction_s * onWindowOpened
struct uiAction_s * onWindowClosed
struct uiAction_s * onWindowActivate
struct uiAction_s * onScriptLoaded
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

◆ background

uiSprite_t* windowExtraData_t::background

Sprite used as a background

Definition at line 93 of file ui_node_window.h.

◆ closeButton

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.

◆ dragButton

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.

◆ dropdown

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.

◆ fill

bool windowExtraData_t::fill

If true, use all the screen space allowed

Definition at line 71 of file ui_node_window.h.

◆ index

node_index_t* windowExtraData_t::index

Definition at line 89 of file ui_node_window.h.

◆ index_hash

node_index_t* windowExtraData_t::index_hash[INDEXEDCHILD_HASH_SIZE]

Definition at line 90 of file ui_node_window.h.

◆ isFullScreen

bool windowExtraData_t::isFullScreen

Internal data to allow fullscreen windows without the same size

Definition at line 70 of file ui_node_window.h.

◆ keyList

struct uiKeyBinding_s* windowExtraData_t::keyList

Definition at line 76 of file ui_node_window.h.

◆ lua_onScriptLoaded

LUA_EVENT windowExtraData_t::lua_onScriptLoaded

Definition at line 87 of file ui_node_window.h.

◆ lua_onWindowActivate

LUA_EVENT windowExtraData_t::lua_onWindowActivate

Definition at line 86 of file ui_node_window.h.

◆ lua_onWindowClosed

LUA_EVENT windowExtraData_t::lua_onWindowClosed

Definition at line 85 of file ui_node_window.h.

◆ lua_onWindowOpened

LUA_EVENT windowExtraData_t::lua_onWindowOpened

Definition at line 84 of file ui_node_window.h.

◆ modal

bool windowExtraData_t::modal

If true, we can't click outside the window

Definition at line 68 of file ui_node_window.h.

◆ noticePos

vec2_t windowExtraData_t::noticePos

the position where the cl.msgText messages are rendered

Definition at line 64 of file ui_node_window.h.

◆ onScriptLoaded

struct uiAction_s* windowExtraData_t::onScriptLoaded

Invoked after all UI scripts are loaded

Definition at line 82 of file ui_node_window.h.

◆ onWindowActivate

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.

◆ onWindowClosed

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.

◆ onWindowOpened

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.

◆ parent

uiNode_t* windowExtraData_t::parent

to create child window

Definition at line 74 of file ui_node_window.h.

◆ preventTypingEscape

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.

◆ starLayout

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: