|
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_t |
| 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 |
Functions | |
| void * | UI_AllocHunkMemory (size_t size, int align, bool reset) |
| void | UI_FinishInit (void) |
| Finish initialization after everything was loaded. | |
| void | UI_FinishWindowsInit (void) |
| Finish windows initialization. | |
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_FocusNextActionNode(), and UI_PushWindow().
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 ui_global.
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, UI_ExecuteEventActions(), ui_global, and WINDOWEXTRADATA.
Referenced by UI_FinishInit().
|
extern |
Definition at line 41 of file ui_main.cpp.
Referenced by uiAbstractValueNode::clone(), uiModelNode::initNodeDynamic(), UI_AddLineChartLine(), UI_AllocNodeWithoutNew(), UI_Init(), UI_SetKeyBindingEx(), and UI_Shutdown().
|
extern |
Definition at line 40 of file ui_main.cpp.
|
extern |
Definition at line 38 of file ui_main.cpp.
Referenced by uiText2Node::draw(), uiTextListNode::draw(), uiTextNode::draw(), uiWindowNode::draw(), UI_AllocHunkMemory(), 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_Init(), 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_Restart_f(), UI_SetKeyBindingEx(), UI_Shutdown(), UI_SpriteExists(), UI_TextNodeGenerateLineSplit(), uiText2Node::updateCache(), and uiTextNode::updateCache().
|
extern |
Definition at line 42 of file ui_main.cpp.
Referenced by UI_AddListener(), UI_Init(), UI_ParseFont(), UI_ParseUIModel(), UI_PoolAllocAction(), UI_RegisterNodePropertyPosSize_(), UI_Shutdown(), and UI_WindowNodeAddIndexedNode().