UFO: Alien Invasion
|
The bar node display a graphical horizontal slider. We can use it to allow the user to select a value in a range. Or we can use it do only display a value (in this case, you must disable it). More...
#include "../ui_nodes.h"
#include "../ui_behaviour.h"
#include "../ui_parse.h"
#include "../ui_main.h"
#include "../ui_input.h"
#include "../ui_render.h"
#include "../ui_actions.h"
#include "ui_node_bar.h"
#include "ui_node_abstractvalue.h"
#include "ui_node_abstractnode.h"
#include "../../input/cl_keys.h"
#include "../../../common/scripts_lua.h"
Go to the source code of this file.
Macros | |
#define | EXTRADATA_TYPE barExtraData_t |
#define | EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) |
Functions | |
void | UI_RegisterBarNode (uiBehaviour_t *behaviour) |
The bar node display a graphical horizontal slider. We can use it to allow the user to select a value in a range. Or we can use it do only display a value (in this case, you must disable it).
Definition in file ui_node_bar.cpp.
#define EXTRADATA | ( | node | ) | UI_EXTRADATA(node, EXTRADATA_TYPE) |
Definition at line 44 of file ui_node_bar.cpp.
Referenced by uiBarNode::draw(), uiBarNode::onCapturedMouseMove(), uiBarNode::onLoading(), and uiBarNode::onMouseDown().
#define EXTRADATA_TYPE barExtraData_t |
Definition at line 43 of file ui_node_bar.cpp.
Referenced by UI_RegisterBarNode().
void UI_RegisterBarNode | ( | uiBehaviour_t * | behaviour | ) |
Orientation of the bar. Default value "cr". Other available values are "uc", "lc", "cr", "cl"
if true, the user can't edit the content
there is no hover effect if this is true
Definition at line 160 of file ui_node_bar.cpp.
References uiBehaviour_t::extends, EXTRADATA_TYPE, uiBehaviour_t::extraDataSize, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, UI_RegisterExtradataNodeProperty, UI_SWIG_TypeQuery(), V_ALIGN, and V_BOOL.