#include "../ui_nodes.h"
#include "../ui_parse.h"
#include "../ui_render.h"
#include "ui_node_tbar.h"
#include "ui_node_abstractvalue.h"
#include "ui_node_abstractnode.h"
Go to the source code of this file.
Defines | |
#define | EXTRADATA_TYPE tbarExtraData_t |
#define | EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) |
#define | EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) |
#define | TEXTURE_WIDTH 250.0 |
Functions | |
static void | UI_TBarNodeDraw (uiNode_t *node) |
void | UI_RegisterTBarNode (uiBehaviour_t *behaviour) |
Variables | |
static const value_t | properties [] |
Definition in file ui_node_tbar.c.
#define EXTRADATA | ( | node | ) | UI_EXTRADATA(node, EXTRADATA_TYPE) |
Definition at line 33 of file ui_node_tbar.c.
#define EXTRADATA_TYPE tbarExtraData_t |
Definition at line 32 of file ui_node_tbar.c.
#define EXTRADATACONST | ( | node | ) | UI_EXTRADATACONST(node, EXTRADATA_TYPE) |
Definition at line 34 of file ui_node_tbar.c.
#define TEXTURE_WIDTH 250.0 |
Definition at line 36 of file ui_node_tbar.c.
Referenced by UI_TBarNodeDraw().
void UI_RegisterTBarNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 82 of file ui_node_tbar.c.
References uiBehaviour_s::draw, uiBehaviour_s::extends, EXTRADATA_TYPE, uiBehaviour_s::extraDataSize, uiBehaviour_s::name, uiBehaviour_s::properties, and UI_TBarNodeDraw().
static void UI_TBarNodeDraw | ( | uiNode_t * | node | ) | [static] |
Definition at line 38 of file ui_node_tbar.c.
References EXTRADATA, uiNode_s::image, uiNode_s::size, TEXTURE_WIDTH, UI_DrawNormImageByName(), UI_GetNodeAbsPos(), UI_GetReferenceFloat(), and UI_GetReferenceString().
Referenced by UI_RegisterTBarNode().
const value_t properties[] [static] |
{ {"texh", V_POS, UI_EXTRADATA_OFFSETOF(tbarExtraData_t, texh), MEMBER_SIZEOF(tbarExtraData_t, texh)}, {"texl", V_POS, UI_EXTRADATA_OFFSETOF(tbarExtraData_t, texl), MEMBER_SIZEOF(tbarExtraData_t, texl)}, {NULL, V_NULL, 0, 0} }
Definition at line 74 of file ui_node_tbar.c.