UFO: Alien Invasion
|
#include "../../cl_shared.h"
#include "../ui_nodes.h"
#include "../ui_parse.h"
#include "../ui_actions.h"
#include "../ui_behaviour.h"
#include "../ui_lua.h"
#include "ui_node_window.h"
#include "ui_node_special.h"
#include "ui_node_abstractnode.h"
#include "../../../common/scripts_lua.h"
Go to the source code of this file.
Functions | |
void | UI_RegisterFuncNode (uiBehaviour_t *behaviour) |
void | UI_RegisterNullNode (uiBehaviour_t *behaviour) |
static void | UI_ConfuncCommand_f (void) |
Callback to execute a confunc. More... | |
static bool | UI_ConFuncIsVirtual (const uiNode_t *const node) |
Checks whether the given node is a virtual confunc that can be overridden from inheriting nodes. More... | |
void | UI_RegisterConFuncNode (uiBehaviour_t *behaviour) |
static void | UI_CvarListenerNodeCallback (const char *cvarName, const char *oldValue, const char *newValue, void *data) |
static void | UI_CvarListenerNodeBind (uiNode_t *node) |
Callback every time the parent window is opened (pushed into the active window stack) More... | |
static void | UI_CvarListenerNodeForceBind (uiNode_t *node, const uiCallContext_t *context) |
void | UI_RegisterCvarFuncNode (uiBehaviour_t *behaviour) |
Callback to execute a confunc.
Definition at line 73 of file ui_node_special.cpp.
References Cmd_Userdata(), uiNode_t::lua_onClick, uiNode_t::onClick, UI_ExecuteConFuncActions(), UI_ExecuteLuaConFunc(), and UI_NodeInstanceOf().
Referenced by uiConFuncNode::onLoaded().
|
static |
Checks whether the given node is a virtual confunc that can be overridden from inheriting nodes.
node | The node to check (must be a confunc node). |
true
if the given node is a dummy node, false
otherwise. Definition at line 91 of file ui_node_special.cpp.
References Cmd_GetUserdata(), uiNode_t::name, uiNode_t::parent, and UI_NodeInstanceOf().
Referenced by uiConFuncNode::onLoaded(), uiConFuncNode::onWindowClosed(), and uiConFuncNode::onWindowOpened().
Callback every time the parent window is opened (pushed into the active window stack)
Definition at line 197 of file ui_node_special.cpp.
References Com_Printf(), Cvar_RegisterChangeListener(), cvarChangeListener_s::data, LIST_AddPointer(), LIST_GetPointer(), uiNode_t::name, UI_CvarListenerNodeCallback(), and UI_GetPath().
Referenced by uiCvarNode::clone(), uiCvarNode::onWindowOpened(), and UI_CvarListenerNodeForceBind().
|
static |
Definition at line 181 of file ui_node_special.cpp.
References linkedList_t::data, LIST_AddString(), linkedList_t::next, uiNode_t::onClick, and UI_ExecuteEventActionsEx().
Referenced by uiCvarNode::onWindowClosed(), and UI_CvarListenerNodeBind().
|
static |
Definition at line 252 of file ui_node_special.cpp.
References UI_CvarListenerNodeBind().
Referenced by UI_RegisterCvarFuncNode().
void UI_RegisterConFuncNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 172 of file ui_node_special.cpp.
References uiBehaviour_t::isFunction, uiBehaviour_t::isVirtual, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, and UI_SWIG_TypeQuery().
void UI_RegisterCvarFuncNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 257 of file ui_node_special.cpp.
References uiBehaviour_t::isFunction, uiBehaviour_t::isVirtual, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, UI_CvarListenerNodeForceBind(), UI_RegisterNodeMethod(), and UI_SWIG_TypeQuery().
void UI_RegisterFuncNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 54 of file ui_node_special.cpp.
References uiBehaviour_t::isFunction, uiBehaviour_t::isVirtual, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, and UI_SWIG_TypeQuery().
void UI_RegisterNullNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 63 of file ui_node_special.cpp.
References uiBehaviour_t::isVirtual, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::name, and UI_SWIG_TypeQuery().