|
UFO: Alien Invasion
|
#include "../ui_main.h"#include "../ui_internal.h"#include "../ui_font.h"#include "../ui_actions.h"#include "../ui_parse.h"#include "../ui_render.h"#include "../ui_data.h"#include "../ui_lua.h"#include "ui_node_text.h"#include "ui_node_textlist.h"#include "ui_node_abstractnode.h"#include "../../client.h"#include "../../../shared/parse.h"#include "../../../common/scripts_lua.h"
Go to the source code of this file.
Macros | |
| #define | EXTRADATA(node) |
| #define | EXTRADATACONST(node) |
Functions | |
| static int | UI_TextListNodeGetLine (const uiNode_t *node, int x, int y) |
| Get the line number under an absolute position. | |
| void | UI_RegisterTextListNode (uiBehaviour_t *behaviour) |
| #define EXTRADATA | ( | node | ) |
Definition at line 43 of file ui_node_textlist.cpp.
| #define EXTRADATACONST | ( | node | ) |
Definition at line 44 of file ui_node_textlist.cpp.
Referenced by UI_TextListNodeGetLine().
| void UI_RegisterTextListNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 247 of file ui_node_textlist.cpp.
References uiBehaviour_t::extends, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, and UI_SWIG_TypeQuery().
Get the line number under an absolute position.
| [in] | node | a text node |
| [in] | x,y | position on the screen |
Definition at line 52 of file ui_node_textlist.cpp.
References EXTRADATACONST, uiNode_t::padding, UI_FontGetHeight(), UI_GetFontFromNode(), and UI_NodeAbsoluteToRelativePos().
Referenced by uiTextListNode::onLeftClick(), uiTextListNode::onMouseMove(), and uiTextListNode::onRightClick().