|
UFO: Alien Invasion
|
The abstractscrollbar is an abstract node (we can't instantiate it). It exists to share same properties for vertical and horizontal scrollbar. At the moment only the concrete vscrollbar.
More...
#include "../ui_behaviour.h"#include "../ui_actions.h"#include "../ui_lua.h"#include "ui_node_abstractscrollbar.h"#include "../../../common/scripts_lua.h"
Go to the source code of this file.
Macros | |
| #define | EXTRADATA_TYPE abstractScrollbarExtraData_t |
| #define | EXTRADATA(node) |
Functions | |
| void | UI_AbstractScrollbarNodeSet (uiNode_t *node, int value) |
| Set the position of the scrollbar to a value. | |
| void | UI_RegisterAbstractScrollbarNode (uiBehaviour_t *behaviour) |
The abstractscrollbar is an abstract node (we can't instantiate it). It exists to share same properties for vertical and horizontal scrollbar. At the moment only the concrete vscrollbar.
Definition in file ui_node_abstractscrollbar.cpp.
| #define EXTRADATA | ( | node | ) |
Definition at line 37 of file ui_node_abstractscrollbar.cpp.
Referenced by UI_AbstractScrollbarNodeSet().
| #define EXTRADATA_TYPE abstractScrollbarExtraData_t |
Definition at line 36 of file ui_node_abstractscrollbar.cpp.
Set the position of the scrollbar to a value.
Definition at line 42 of file ui_node_abstractscrollbar.cpp.
References EXTRADATA, uiNode_t::lua_onChange, uiNode_t::onChange, UI_ExecuteEventActions(), and UI_ExecuteLuaEventScript().
Referenced by uiVScrollbarNode::onCapturedMouseMove(), uiVScrollbarNode::onScroll(), UI_VScrollbarNodeDiff(), and uiAbstractScrollbarNode_t_set_current().
| void UI_RegisterAbstractScrollbarNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 70 of file ui_node_abstractscrollbar.cpp.
References EXTRADATA_TYPE, uiBehaviour_t::extraDataSize, uiBehaviour_t::isAbstract, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, UI_RegisterExtradataNodeProperty, UI_SWIG_TypeQuery(), V_BOOL, and V_INT.