UFO: Alien Invasion
|
Internal data use by the UI package. More...
#include "node/ui_node_window.h"
#include "node/ui_node_model.h"
#include "ui_main.h"
#include "ui_actions.h"
#include "ui_behaviour.h"
#include "ui_nodes.h"
#include "ui_sprite.h"
#include "ui_input.h"
#include "ui_expression.h"
#include "ui_data.h"
Go to the source code of this file.
Data Structures | |
struct | uiGlobal_s |
Global data shared into all UI code. More... | |
Macros | |
#define | UI_MAX_WINDOWS 128 |
#define | UI_MAX_COMPONENTS 128 |
#define | UI_MAX_WINDOWSTACK 32 |
#define | UI_MAX_ACTIONS 2*8192 |
#define | UI_MAX_VARIABLESTACK 64 |
#define | STRUCT_MEMORY_ALIGN 8 |
Typedefs | |
typedef struct uiGlobal_s | uiGlobal_t |
Global data shared into all UI code. More... | |
Functions | |
void * | UI_AllocHunkMemory (size_t size, int align, bool reset) |
void | UI_FinishInit (void) |
Finish initialization after everything was loaded. More... | |
void | UI_FinishWindowsInit (void) |
Finish windows initialization. More... | |
Variables | |
uiGlobal_t | ui_global |
memPool_t * | ui_sysPool |
memPool_t * | ui_dynStringPool |
memPool_t * | ui_dynPool |
Internal data use by the UI package.
Definition in file ui_internal.h.
#define STRUCT_MEMORY_ALIGN 8 |
Alignment memory for structures
Definition at line 104 of file ui_internal.h.
Referenced by UI_AllocNodeWithoutNew(), UI_InitializeNodeBehaviour(), UI_ParseExcludeRect(), and UI_RegisterNodePropertyPosSize_().
#define UI_MAX_ACTIONS 2*8192 |
Definition at line 32 of file ui_internal.h.
Referenced by UI_AllocStaticAction().
#define UI_MAX_COMPONENTS 128 |
Definition at line 30 of file ui_internal.h.
Referenced by UI_InsertComponent().
#define UI_MAX_VARIABLESTACK 64 |
Definition at line 33 of file ui_internal.h.
Referenced by UI_ExecuteAction().
#define UI_MAX_WINDOWS 128 |
Definition at line 29 of file ui_internal.h.
Referenced by UI_CreateWindow(), UI_InsertWindow(), and UI_ParseWindow().
#define UI_MAX_WINDOWSTACK 32 |
Definition at line 31 of file ui_internal.h.
Referenced by UI_PushWindow().
typedef struct uiGlobal_s uiGlobal_t |
Global data shared into all UI code.
Allocate memory from hunk managed by the UI code This memory is allocated one time, and never released.
size | Quantity of memory expected |
align | Alignement of the expected memory |
reset | If true initilize the memory with 0 |
Definition at line 126 of file ui_main.cpp.
References uiGlobal_s::adata, uiGlobal_s::adataize, and uiGlobal_s::curadata.
Referenced by UI_AllocNodeWithoutNew(), UI_AllocStaticColor(), UI_AllocStaticFloat(), UI_AllocStaticString(), UI_InitializeNodeBehaviour(), UI_ParseExcludeRect(), and UI_RegisterNodePropertyPosSize_().
Finish initialization after everything was loaded.
Definition at line 268 of file ui_main.cpp.
References UI_FinishWindowsInit().
Referenced by UI_InitStack().
Finish windows initialization.
Definition at line 665 of file ui_windows.cpp.
References i, uiGlobal_s::numWindows, UI_ExecuteEventActions(), ui_global, WINDOWEXTRADATA, and uiGlobal_s::windows.
Referenced by UI_FinishInit().
memPool_t* ui_dynPool |
Definition at line 41 of file ui_main.cpp.
Referenced by uiAbstractValueNode::clone(), uiModelNode::initNodeDynamic(), UI_AddLineChartLine(), UI_AllocNodeWithoutNew(), and UI_SetKeyBindingEx().
memPool_t* ui_dynStringPool |
Definition at line 40 of file ui_main.cpp.
uiGlobal_t ui_global |
Definition at line 38 of file ui_main.cpp.
Referenced by uiTextListNode::draw(), uiTextNode::draw(), uiText2Node::draw(), uiWindowNode::draw(), UI_AllocNodeWithoutNew(), UI_AllocStaticAction(), UI_AllocStaticKeyBinding(), UI_AllocStaticSprite(), UI_CloseAllWindow(), UI_CloseWindowByRef(), UI_CompleteWithWindow(), UI_CreateWindow(), UI_DebugListWindows_f(), UI_DeleteWindowFromStack(), UI_Draw(), UI_ExecuteAction(), UI_FinishWindowsInit(), UI_FocusNextActionNode(), UI_FreeStringProperty(), UI_GetActiveWindow(), UI_GetComponent(), UI_GetDataVersion(), UI_GetKeyBindingByIndex(), UI_GetKeyBindingCount(), UI_GetLastFullScreenWindow(), UI_GetNodeAtPosition(), UI_GetOption(), UI_GetSpriteByName(), UI_GetText(), UI_GetTextFromList(), UI_GetUIModel(), UI_GetVariable(), UI_GetWindow(), UI_GetWindowPositionFromStackByName(), UI_InitRawActionValue(), UI_InitStack(), UI_InsertComponent(), UI_InsertWindow(), UI_InsertWindowIntoStack(), UI_InvalidateStack(), UI_IsMouseOnWindow(), UI_KeyPressed(), UI_LeftClick(), UI_ListUIModels_f(), UI_MoveWindowOnTop(), UI_ParseNodeBody(), UI_ParseProperty(), UI_ParseUIModel(), UI_ParseWindow(), UI_PopWindow(), UI_PopWindowWithEscKey(), UI_PushWindow(), UI_RegisterLinkedListText(), UI_RegisterOption(), UI_RegisterText(), UI_RemoveWindow(), UI_RemoveWindowAtPositionFromStack(), UI_ResetData(), UI_SetKeyBindingEx(), UI_SpriteExists(), UI_TextNodeGenerateLineSplit(), uiText2Node::updateCache(), and uiTextNode::updateCache().
memPool_t* ui_sysPool |
Definition at line 42 of file ui_main.cpp.
Referenced by UI_AddListener(), UI_ParseFont(), UI_ParseUIModel(), UI_PoolAllocAction(), UI_RegisterNodePropertyPosSize_(), and UI_WindowNodeAddIndexedNode().